Uses of Class
org.conical.common.bbl.auth.AuthenticationException
Packages that use AuthenticationException
-
Uses of AuthenticationException in org.conical.common.bbl.auth
Methods in org.conical.common.bbl.auth that throw AuthenticationExceptionModifier and TypeMethodDescriptionvoidAuthConfig.assertComplete()Asserts that properties of this configuration have all been set.Authenticator.getAuthenticatedUser(String username, String password) Checks the password for the passed user.DatabaseAuthenticator.getAuthenticatedUser(String username, String password) Checks the password for the passed user.LdapAuthenticator.getAuthenticatedUser(String username, String password) static AuthenticatorAuthFactory.getAuthenticator()Returns the default Authenticator, which connects to a database using the BBL standard JNDI name under which a data source to the BBL authentication database should be registered.static AuthenticatorAuthFactory.getAuthenticator(AuthConfig config) Checks config and returns an appropriateAuthenticator.static AuthDataSourceAuthDataSource.getInstance(AuthConfig config) Looks up the AuthDataSource for this configuration and returns it if it exists.Authenticator.getUnauthenticatedUser(String username) Looks up user attributes without authenticating, and returns them.DatabaseAuthenticator.getUnauthenticatedUser(String username) Looks up user attributes without authenticating, and returns them.LdapAuthenticator.getUnauthenticatedUser(String username) booleanAuthenticator.isValidUser(String username, String password) Checks if the given username and password represents a valid user.booleanDatabaseAuthenticator.isValidUser(String username, String password) Checks if the given username and password represents a valid user.booleanLdapAuthenticator.isValidUser(String username, String password) booleanAuthenticator.userHasRole(String username, String role) Returns true if user has the passed role, else false.booleanDatabaseAuthenticator.userHasRole(String username, String role) Returns true if user has the passed role, else false.booleanLdapAuthenticator.userHasRole(String username, String role) Constructors in org.conical.common.bbl.auth that throw AuthenticationExceptionModifierConstructorDescriptionDatabaseAuthenticator(String jndiName) Creates a new instance using a DataSource configured in JNDI.DatabaseAuthenticator(AuthConfig config) Creates a new instance with the given configLdapAuthenticator(AuthConfig config)