|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.security.LoginCallbackHandler
public class LoginCallbackHandler
Login callback handler.
Constructor Summary | |
---|---|
LoginCallbackHandler(UserContextInterface user,
UserIdentityInterface ident,
java.util.Map options)
Constructs a login callback handler for the specified user context, identity, and options. |
Method Summary | |
---|---|
static java.util.Map |
getDelegateOptionMap(java.util.Map optionMap)
|
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Handles the login callback. |
void |
setContext(UserContextInterface user)
Sets the user's context. |
void |
setDomain(java.lang.String domain)
|
void |
setIdentity(UserIdentityInterface ident)
Sets the user's identity. |
void |
setOptions(java.util.Map options)
Sets options. |
Constructor Detail |
---|
public LoginCallbackHandler(UserContextInterface user, UserIdentityInterface ident, java.util.Map options)
user
- User contextident
- User identityoptions
- OptionsMethod Detail |
---|
public void setIdentity(UserIdentityInterface ident)
ident
- User's identity.public void setContext(UserContextInterface user)
user
- User's context.public void setOptions(java.util.Map options)
options
- public void setDomain(java.lang.String domain)
public void handle(javax.security.auth.callback.Callback[] callbacks) throws javax.security.auth.callback.UnsupportedCallbackException
handle
in interface javax.security.auth.callback.CallbackHandler
callbacks
- Callbacks
javax.security.auth.callback.UnsupportedCallbackException
- if an invalid callback is encountered.public static java.util.Map getDelegateOptionMap(java.util.Map optionMap)
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |