public boolean checkDestinationAccess ( SecurityContext secContext , OperationType operation ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "checkDestinationAccess" , new Object [ ] { secContext , operation } ) ; boolean allow = false ; // This style of access check is against a bus only. if ( accessChecker . checkForeignBusAccess ( secContext , getName ( ) , operation ) ) { allow = true ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "checkDestinationAccess" , Boolean . valueOf ( allow ) ) ; return allow ; }
Check permission to access a Destination