public class SecurityFactory extends Object
prepare()
and release()
Anil SaldhanaConstructor and Description |
---|
SecurityFactory() |
Modifier and Type | Method and Description |
---|---|
static SecurityContext |
establishSecurityContext(String securityDomainName)
Establish a security context on the thread
|
static AuditManager |
getAuditManager(String securityDomain)
Get the
AuditManager interface |
static AuthenticationManager |
getAuthenticationManager(String securityDomain)
Get the
AuthenticationManager interface |
static AuthorizationManager |
getAuthorizationManager(String securityDomain)
Get the
AuthorizationManager interface |
static MappingManager |
getMappingManager(String securityDomain)
Get the
MappingManager |
static ISecurityManagement |
getSecurityManagement()
Get the
ISecurityManagement interface |
static void |
prepare()
Prepare for security operations.
|
static void |
release()
Will release anything that was done during
prepare() step |
static void |
setSecurityManagement(ISecurityManagement iSecurityManagement)
Set
ISecurityManagement |
public static AuthenticationManager getAuthenticationManager(String securityDomain)
AuthenticationManager
interfacesecurityDomain
- security domain such as "other"public static AuthorizationManager getAuthorizationManager(String securityDomain)
AuthorizationManager
interfacesecurityDomain
- security domain such as "other"public static AuditManager getAuditManager(String securityDomain)
AuditManager
interfacesecurityDomain
- security domain such as "other"public static MappingManager getMappingManager(String securityDomain)
MappingManager
securityDomain
- public static ISecurityManagement getSecurityManagement()
ISecurityManagement
interfacepublic static void setSecurityManagement(ISecurityManagement iSecurityManagement)
ISecurityManagement
iSecurityManagement
- public static void prepare()
Configuration
that uses our xml based configuration.to release the configuration
public static SecurityContext establishSecurityContext(String securityDomainName)
securityDomainName
- public static void release()
prepare()
stepCopyright © 2018 JBoss by Red Hat. All rights reserved.