While callers may invoke login
directly,
the provider may also invoke login
on behalf of callers
if it determines that a login must be performed
prior to certain operations.
Modifier and Type | Field and Description |
---|---|
private static final long |
Access | Constructor and Description |
---|---|
protected | AuthProvider(String
the provider name. name, double the provider version number. version, String a description of the provider and its services. info)
Deprecated
since 9. use
AuthProvider(String, String, String) instead.
Constructs a provider with the specified name, version number, and information. |
protected | AuthProvider(String
the provider name. name, String the provider version string. versionStr, String a description of the provider and its services. info)Constructs a provider with the specified name, version string, and information. |
Modifier and Type | Method and Description |
---|---|
public abstract void | login(Subject
the subject, CallbackHandler Subject which may contain
principals/credentials used for authentication,
or may be populated with additional principals/credentials
after successful authentication has completed.
This parameter may be null .the handler)CallbackHandler used by
this provider to obtain authentication information
from the caller, which may be null Log in to this provider. |
public abstract void | |
public abstract void | setCallbackHandler(CallbackHandler
a handler)CallbackHandler for obtaining
authentication information, which may be null Set a |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID Hides java. |
AuthProvider | back to summary |
---|---|
protected AuthProvider(String name, double version, String info)
Constructs a provider with the specified name, version number, and information.
|
AuthProvider | back to summary |
---|---|
protected AuthProvider(String name, String versionStr, String info) Constructs a provider with the specified name, version string, and information. |
login | back to summary |
---|---|
public abstract void login(Subject subject, CallbackHandler handler) throws LoginException Log in to this provider. The provider relies on a
|
logout | back to summary |
---|---|
public abstract void logout() throws LoginException Log out from this provider.
|
setCallbackHandler | back to summary |
---|---|
public abstract void setCallbackHandler(CallbackHandler handler) Set a The provider uses this handler if one is not passed to the
|