public abstract class AbstractBasicAuthentication
extends java.lang.Object
| Constructor and Description |
|---|
AbstractBasicAuthentication() |
| Modifier and Type | Method and Description |
|---|---|
|
authenticate(CallbackHandler callbackHandler)
Authenticate a user
|
protected abstract java.lang.String |
getPlainPassword() |
UserInformation |
getUser(java.lang.String user) |
protected UserInformation |
processAuthenticate(Callback[] callbacks,
java.lang.String plainPassword) |
publicauthenticate(CallbackHandler callbackHandler)
This method simply implements an any authentication which allows access to session with or without user names. No password is checked.
This method should be overridden if a different authentication scheme is required.
username - the usernamepassword - the passwordsessionResultProperties - the session properties that will be returned to the client.
The method may add or remove properties as it likes.null if it is an
anonymous sessionAuthenticationException - if the user was rejectedprotected abstract java.lang.String getPlainPassword()
public UserInformation getUser(java.lang.String user)
protected UserInformation processAuthenticate(Callback[] callbacks,
java.lang.String plainPassword)
throws AuthenticationException
AuthenticationException
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0