public AuthenticationService getAuthenticationService ( SecurityService securityService ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) { SibTr . entry ( tc , CLASS_NAME + "getAuthenticationService" , securityService ) ; } if ( _authenticationService == null ) { if ( securityService != null ) _authenticationService = securityService . getAuthenticationService ( ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) { SibTr . exit ( tc , CLASS_NAME + "getAuthenticationService" , _authenticationService ) ; } return _authenticationService ; }
Get Authentication Service from the Liberty Security component It will get the AuthenticationService only if the SecurityService is activated