org.granite.seam21.security
Class Seam21SecurityService
java.lang.Object
org.granite.messaging.service.security.AbstractSecurityService
org.granite.seam21.security.Seam21SecurityService
- All Implemented Interfaces:
- SecurityService
public class Seam21SecurityService
- extends AbstractSecurityService
- Author:
- Venkat DANDA
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Seam21SecurityService
public Seam21SecurityService()
configure
public void configure(Map<String,String> params)
login
public void login(Object credentials,
String charset)
throws SecurityServiceException
- Throws:
SecurityServiceException
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.