public class IdentityFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
GROUP_CLASS |
static String |
IDENTITY_CLASS |
static String |
PRINCIPAL_CLASS |
Constructor and Description |
---|
IdentityFactory() |
Modifier and Type | Method and Description |
---|---|
static Group |
createGroup(String name) |
static Identity |
createIdentity(String name) |
static Identity |
createIdentity(String identityClass,
String name) |
static Identity |
createIdentityWithRole(String name,
Role role) |
static Identity |
createIdentityWithRole(String name,
String roleName) |
static Identity |
createIdentityWithRole(String identityClass,
String name,
Role role) |
static Identity |
createIdentityWithRole(String identityClass,
String name,
String roleName) |
static Principal |
createPrincipal(String name) |
public static final String IDENTITY_CLASS
public static final String PRINCIPAL_CLASS
public static final String GROUP_CLASS
public static Principal createPrincipal(String name) throws Exception
Exception
public static Identity createIdentity(String name) throws Exception
Exception
public static Identity createIdentity(String identityClass, String name) throws Exception
Exception
public static Identity createIdentityWithRole(String name, String roleName) throws Exception
Exception
public static Identity createIdentityWithRole(String identityClass, String name, String roleName) throws Exception
Exception
public static Identity createIdentityWithRole(String name, Role role) throws Exception
Exception
Copyright © 2021 JBoss by Red Hat. All rights reserved.