Interface SecurityStore
- All Known Implementing Classes:
SecurityStoreImpl
public interface SecurityStore
-
Method Summary
Modifier and TypeMethodDescriptionauthenticate(String user, String password, RemotingConnection remotingConnection) authenticate(String user, String password, RemotingConnection remotingConnection, String securityDomain) voidcheck(SimpleString address, SimpleString queue, CheckType checkType, SecurityAuth session) voidcheck(SimpleString address, CheckType checkType, SecurityAuth session) longlonglonglonggetSessionSubject(SecurityAuth session) booleanvoidsetSecurityEnabled(boolean securityEnabled) voidstop()
-
Method Details
-
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
- 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
-
getAuthenticationSuccessCount
long getAuthenticationSuccessCount() -
getAuthenticationFailureCount
long getAuthenticationFailureCount() -
getAuthorizationSuccessCount
long getAuthorizationSuccessCount() -
getAuthorizationFailureCount
long getAuthorizationFailureCount()
-