org.granite.messaging.service.security
Interface SecurityService


public interface SecurityService

Author:
Franck WOLFF

Method Summary
 boolean acceptsContext()
           
 Object authorize(AbstractSecurityContext context)
           
 void configure(Map<String,String> params)
           
 void handleSecurityException(SecurityServiceException e)
           
 void login(Object credentials)
           
 void login(Object credentials, String charset)
           
 void logout()
           
 

Method Detail

configure

void configure(Map<String,String> params)

login

void login(Object credentials)
           throws SecurityServiceException
Throws:
SecurityServiceException

login

void login(Object credentials,
           String charset)
           throws SecurityServiceException
Throws:
SecurityServiceException

authorize

Object authorize(AbstractSecurityContext context)
                 throws Exception
Throws:
Exception

acceptsContext

boolean acceptsContext()

logout

void logout()
            throws SecurityServiceException
Throws:
SecurityServiceException

handleSecurityException

void handleSecurityException(SecurityServiceException e)