org.alfresco.repo.webservice.axis
Class TicketCallbackHandler
java.lang.Object
org.alfresco.repo.webservice.axis.TicketCallbackHandler
- All Implemented Interfaces:
- javax.security.auth.callback.CallbackHandler
public class TicketCallbackHandler
- extends java.lang.Object
- implements javax.security.auth.callback.CallbackHandler
CallbackHandler that verifies the given ticket in the password element of the UsernameToken
header is still a valid ticket
Method Summary |
void |
handle(javax.security.auth.callback.Callback[] callbacks)
|
void |
setAuthenticationService(org.alfresco.service.cmr.security.AuthenticationService authenticationService)
Sets the AuthenticationService instance to use |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TicketCallbackHandler
public TicketCallbackHandler()
setAuthenticationService
public void setAuthenticationService(org.alfresco.service.cmr.security.AuthenticationService authenticationService)
- Sets the AuthenticationService instance to use
- Parameters:
authenticationService
- The AuthenticationService
handle
public void handle(javax.security.auth.callback.Callback[] callbacks)
throws java.io.IOException,
javax.security.auth.callback.UnsupportedCallbackException
- Specified by:
handle
in interface javax.security.auth.callback.CallbackHandler
- Throws:
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException
- See Also:
CallbackHandler.handle(javax.security.auth.callback.Callback[])
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.