Interface SecurityStore
-
- All Known Implementing Classes:
SecurityStoreImpl
public interface SecurityStore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringauthenticate(String user, String password, RemotingConnection remotingConnection)Stringauthenticate(String user, String password, RemotingConnection remotingConnection, String securityDomain)voidcheck(SimpleString address, SimpleString queue, CheckType checkType, SecurityAuth session)voidcheck(SimpleString address, CheckType checkType, SecurityAuth session)SubjectgetSessionSubject(SecurityAuth session)booleanisSecurityEnabled()voidsetSecurityEnabled(boolean securityEnabled)voidstop()
-
-
-
Method Detail
-
authenticate
String authenticate(String user, String password, RemotingConnection remotingConnection) throws Exception
- Throws:
Exception
-
authenticate
String authenticate(String user, String password, RemotingConnection remotingConnection, String securityDomain) throws Exception
- Throws:
Exception
-
check
void check(SimpleString address, CheckType checkType, SecurityAuth session) throws Exception
- Throws:
Exception
-
check
void check(SimpleString address, SimpleString queue, CheckType checkType, SecurityAuth session) throws Exception
- Throws:
Exception
-
isSecurityEnabled
boolean isSecurityEnabled()
-
setSecurityEnabled
void setSecurityEnabled(boolean securityEnabled)
-
stop
void stop()
-
getSessionSubject
Subject getSessionSubject(SecurityAuth session)
-
-