|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JaasLoginServiceMBean
Interface used to connect to the JaasLoginService via remoting, etc. This may no longer be necessary?
| Method Summary | |
|---|---|
JaasSessionId |
connectToRealm(String realmName)
Starts a new authentication process on behalf of an end user. |
JaasLoginModuleConfiguration[] |
getLoginConfiguration(JaasSessionId sessionHandle)
Gets the login module configuration for the specified realm. |
Callback[] |
getServerLoginCallbacks(JaasSessionId sessionHandle,
int loginModuleIndex)
Retrieves callbacks for a server side login module. |
void |
loginFailed(JaasSessionId sessionHandle)
Indicates that the overall login failed, and the server should release any resources associated with the user ID. |
Principal |
loginSucceeded(JaasSessionId sessionHandle)
Indicates that the overall login succeeded. |
void |
logout(JaasSessionId sessionHandle)
Indicates that the client has logged out, and the server should release any resources associated with the user ID. |
boolean |
performAbort(JaasSessionId sessionHandle,
int lmIndex)
Indicates that the overall login failed. |
boolean |
performCommit(JaasSessionId sessionHandle,
int loginModuleIndex)
Indicates that the overall login succeeded, and some principals were generated by a client-side login module. |
boolean |
performLogin(JaasSessionId sessionHandle,
int loginModuleIndex,
Callback[] results)
Returns populated callbacks for a server side login module. |
Set |
syncPrincipals(JaasSessionId sessionHandle,
Set principals)
Syncs the set of principals that are on the client with the set of principals that are on the server. |
Map |
syncShareState(JaasSessionId sessionHandle,
Map sharedState)
Syncs the shared state that's on the client with the shared state that is on the server. |
| Methods inherited from interface org.apache.geronimo.management.geronimo.LoginService |
|---|
getExpiredLoginScanIntervalMillis, getMaxLoginDurationMillis, getObjectName, getRealms, setExpiredLoginScanIntervalMillis, setMaxLoginDurationMillis, setRealms |
| Method Detail |
|---|
JaasSessionId connectToRealm(String realmName)
JaasSessionId used as an argument for the rest of the
methods in this class.
JaasLoginModuleConfiguration[] getLoginConfiguration(JaasSessionId sessionHandle)
throws LoginException
LoginException
Callback[] getServerLoginCallbacks(JaasSessionId sessionHandle,
int loginModuleIndex)
throws LoginException
LoginException
boolean performLogin(JaasSessionId sessionHandle,
int loginModuleIndex,
Callback[] results)
throws LoginException
LoginException
boolean performCommit(JaasSessionId sessionHandle,
int loginModuleIndex)
throws LoginException
LoginException
Principal loginSucceeded(JaasSessionId sessionHandle)
throws LoginException
sessionHandle - the handle to the login session
LoginException - if the handle is no longer valid.void loginFailed(JaasSessionId sessionHandle)
void logout(JaasSessionId sessionHandle)
throws LoginException
LoginException
Map syncShareState(JaasSessionId sessionHandle,
Map sharedState)
throws LoginException
sessionHandle - sharedState - the shared state that is on the client
LoginException
Set syncPrincipals(JaasSessionId sessionHandle,
Set principals)
throws LoginException
sessionHandle - principals - the set of principals that are on the client side
LoginException
boolean performAbort(JaasSessionId sessionHandle,
int lmIndex)
throws LoginException
LoginException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||