public interface SecurityProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
MANAGEMENT_REALM |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getRealms()
Returns a collection of user realms.
|
Subject |
login(AuthenticationToken authenticationToken)
This method is trying to authenticate a user by using the provided
AuthenticationToken and using the main administration realm. |
Subject |
login(String realmName,
AuthenticationToken authenticationToken)
This method is trying to authenticate a user by using the provided
AuthenticationToken and the given realm. |
static final String MANAGEMENT_REALM
Collection<String> getRealms()
Subject login(String realmName, AuthenticationToken authenticationToken) throws AuthenticationException
AuthenticationToken and the given realm.realmName - The realm which have to be used to authenticate user.authenticationToken - The token which represents the way to authenticate
the user.AuthenticationException - If the system is not able to do authentication.Subject login(AuthenticationToken authenticationToken) throws AuthenticationException
AuthenticationToken and using the main administration realm.authenticationToken - AuthenticationException - If the system is not able to do authentication.Copyright © 2011-2016 OpenESB Community. All Rights Reserved.