org.granite.seam.security
Class SeamSecurityService
java.lang.Object
org.granite.messaging.service.security.AbstractSecurityService
org.granite.seam.security.SeamSecurityService
- All Implemented Interfaces:
- SecurityService
public class SeamSecurityService
- extends AbstractSecurityService
- Author:
- Venkat DANDA
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeamSecurityService
public SeamSecurityService()
configure
public void configure(Map<String,String> params)
login
public void login(Object credentials,
String charset)
throws SecurityServiceException
- Throws:
SecurityServiceException
handleAuthenticationExceptions
protected void handleAuthenticationExceptions(LoginException e)
authorize
public Object authorize(AbstractSecurityContext context)
throws Exception
- Throws:
Exception
logout
public void logout()
throws SecurityServiceException
- Throws:
SecurityServiceException
handleSecurityException
public void handleSecurityException(SecurityServiceException e)
- Description copied from class:
AbstractSecurityService
- Handle a security exception. This method is called in
AMF3MessageProcessor.processCommandMessage(flex.messaging.messages.CommandMessage)
whenever a SecurityService occurs and does nothing by default.
- Specified by:
handleSecurityException in interface SecurityService- Overrides:
handleSecurityException in class AbstractSecurityService
- Parameters:
e - the security exception.