public boolean isSIBServerSubject ( ) { if ( tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "isSIBServerSubject" ) ; boolean ispriv = false ; // If the context is userid or alternate user based then it cannot be the // privileged SIBServerSubject, so we only need to check the Subject and // msg based contexts. if ( isSubjectBased ( ) ) { if ( authorisationUtils != null ) { ispriv = authorisationUtils . isSIBServerSubject ( subject ) ; } } else if ( isMsgBased ( ) ) { if ( authorisationUtils != null ) { ispriv = authorisationUtils . sentBySIBServer ( msg ) ; } } if ( tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "isSIBServerSubject" , new Boolean ( ispriv ) ) ; return ispriv ; }
Check whether this security context belongs to the privileged SIBServerSubject or not .