/** * Returns the implementation of an Authenticator with a given id * * @param id the id * * @return the authenticator * * @throws ConnectorServiceException */ public Authenticator getAuthenticator(String id) throws ConnectorServiceException { if (id == null) { throw new IllegalArgumentException("Authenticator ID cannot be null."); } AuthenticatorDescriptor descriptor = getRemoteConfig().getAuthenticatorDescriptor(id); if (descriptor == null) { throw new ConnectorServiceException( "Unable to find authenticator for id: " + id); } return buildAuthenticator(descriptor.getImplementationClass()); }
/** * Returns the implementation of an Authenticator with a given id * * @param id the id * * @return the authenticator * * @throws ConnectorServiceException */ public Authenticator getAuthenticator(String id) throws ConnectorServiceException { if (id == null) { throw new IllegalArgumentException("Authenticator ID cannot be null."); } AuthenticatorDescriptor descriptor = getRemoteConfig().getAuthenticatorDescriptor(id); if (descriptor == null) { throw new ConnectorServiceException( "Unable to find authenticator for id: " + id); } return buildAuthenticator(descriptor.getImplementationClass()); }
/** * Returns the implementation of an Authenticator with a given id * * @param id the id * * @return the authenticator * * @throws ConnectorServiceException */ public Authenticator getAuthenticator(String id) throws ConnectorServiceException { if (id == null) { throw new IllegalArgumentException("Authenticator ID cannot be null."); } AuthenticatorDescriptor descriptor = getRemoteConfig().getAuthenticatorDescriptor(id); if (descriptor == null) { throw new ConnectorServiceException( "Unable to find authenticator for id: " + id); } return buildAuthenticator(descriptor.getImplementationClass()); }
if (authId != null) AuthenticatorDescriptor authDescriptor = getRemoteConfig().getAuthenticatorDescriptor(authId); if (authDescriptor == null)
if (authId != null) AuthenticatorDescriptor authDescriptor = getRemoteConfig().getAuthenticatorDescriptor(authId); if (authDescriptor == null)
if (authId != null) AuthenticatorDescriptor authDescriptor = getRemoteConfig().getAuthenticatorDescriptor(authId); if (authDescriptor == null)