public interface SecurityHelper
| Modifier and Type | Method and Description |
|---|---|
Object |
associateSecurityContext(Object context)
Associate the given context and return the old context
|
Object |
authenticate(String securityDomain,
String baseUserName,
Credentials credentials,
String applicationName)
Authenticate the user and return the security context
|
void |
clearSecurityContext()
Clear any security context associated with the thread
|
Object |
getSecurityContext(String securityDomain)
Get the current security context associated with the thread
|
Subject |
getSubjectInContext(Object context)
Get the subject associated with the security context.
|
GSSResult |
negotiateGssLogin(String securityDomain,
byte[] serviceTicket)
Negotiate the GSS login
|
Object associateSecurityContext(Object context)
context - void clearSecurityContext()
Object getSecurityContext(String securityDomain)
Subject getSubjectInContext(Object context)
context - Object authenticate(String securityDomain, String baseUserName, Credentials credentials, String applicationName) throws LoginException
securityDomain - baseUserName - without the security domain suffixcredentials - applicationName - LoginExceptionGSSResult negotiateGssLogin(String securityDomain, byte[] serviceTicket) throws LoginException
securityDomain - serviceTicket - LoginExceptionCopyright © 2019. All rights reserved.