|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.webservice.util.AuthenticationUtils
public class AuthenticationUtils
Constructor Summary | |
---|---|
AuthenticationUtils()
|
Method Summary | |
---|---|
static void |
endSession()
Ends the current session |
static AuthenticationDetails |
getAuthenticationDetails()
Get the authentication details for the current thread |
static org.apache.axis.EngineConfiguration |
getEngineConfiguration()
Gets the engine configuration used to create the web service references |
static java.lang.String |
getTicket()
Get the ticket for the current authentication details on the current thread |
void |
handle(javax.security.auth.callback.Callback[] callbacks)
The implementation of the passwrod call back used by the WS Security |
static boolean |
isCurrentTicketTimedOut()
|
static void |
setAuthenticationDetails(AuthenticationDetails authenticationDetails)
|
static void |
startSession(java.lang.String username,
java.lang.String password)
Start a session |
static void |
startSession(java.lang.String username,
java.lang.String password,
long timeoutInterval)
Start a session |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthenticationUtils()
Method Detail |
---|
public static void startSession(java.lang.String username, java.lang.String password) throws org.alfresco.webservice.authentication.AuthenticationFault
username
- password
-
org.alfresco.webservice.authentication.AuthenticationFault
public static void startSession(java.lang.String username, java.lang.String password, long timeoutInterval) throws org.alfresco.webservice.authentication.AuthenticationFault
username
- password
- timeoutInterval
- timeout interval
org.alfresco.webservice.authentication.AuthenticationFault
public static void setAuthenticationDetails(AuthenticationDetails authenticationDetails)
public static boolean isCurrentTicketTimedOut()
public static void endSession()
public static java.lang.String getTicket()
public static AuthenticationDetails getAuthenticationDetails()
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
handle
in interface javax.security.auth.callback.CallbackHandler
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException
CallbackHandler.handle(javax.security.auth.callback.Callback[])
public static org.apache.axis.EngineConfiguration getEngineConfiguration()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |