Uses of Class
org.conical.common.bbl.auth.AuthenticationException
-
Uses of AuthenticationException in org.conical.common.bbl.auth
Modifier and TypeMethodDescriptionvoid
AuthConfig.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 Authenticator
AuthFactory.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 Authenticator
AuthFactory.getAuthenticator
(AuthConfig config) Checks config and returns an appropriateAuthenticator
.static AuthDataSource
AuthDataSource.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) boolean
Authenticator.isValidUser
(String username, String password) Checks if the given username and password represents a valid user.boolean
DatabaseAuthenticator.isValidUser
(String username, String password) Checks if the given username and password represents a valid user.boolean
LdapAuthenticator.isValidUser
(String username, String password) boolean
Authenticator.userHasRole
(String username, String role) Returns true if user has the passed role, else false.boolean
DatabaseAuthenticator.userHasRole
(String username, String role) Returns true if user has the passed role, else false.boolean
LdapAuthenticator.userHasRole
(String username, String role) ModifierConstructorDescriptionDatabaseAuthenticator
(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)