Package | Description |
---|---|
org.jboss.security |
The basic security interfaces and classes are now located in the
jbosssx module.
|
org.jboss.security.acl | |
org.jboss.security.identity | |
org.jboss.security.identity.extensions | |
org.jboss.security.identity.fed | |
org.jboss.security.identity.plugins |
Modifier and Type | Method and Description |
---|---|
Set<Identity> |
SubjectInfo.getIdentities() |
Set<Identity> |
SecurityContextUtil.getIdentities(Class<?> clazz)
Get a set of identities of a particular type
|
Modifier and Type | Method and Description |
---|---|
void |
SubjectInfo.addIdentity(Identity id) |
void |
SecurityContextUtil.addIdentity(Identity id)
Add an Identity to the Security Context
|
void |
SecurityContextUtil.createSubjectInfo(Identity identity,
Subject theSubject)
Create a SubjectInfo
|
void |
SubjectInfo.removeIdentity(Identity id)
Remove an identity
|
Modifier and Type | Method and Description |
---|---|
void |
SubjectInfo.setIdentities(Set<Identity> ids) |
void |
SecurityContextUtil.setIdentities(Set<Identity> idSet)
Set the Identities into the Security Context
|
Modifier and Type | Method and Description |
---|---|
Identity |
ACLEntryImpl.getIdentity() |
Identity |
ACLEntry.getIdentity()
Obtains the
Identity for which a permission has been assigned in this entry. |
static Identity |
Util.getIdentityFromString(String identityString)
Builds and returns an identity from the specified
String representation. |
Modifier and Type | Method and Description |
---|---|
<T> Set<T> |
RoleBasedACLProviderImpl.getEntitlements(Class<T> clazz,
Resource resource,
Identity identity) |
<T> Set<T> |
ACLProviderImpl.getEntitlements(Class<T> clazz,
Resource resource,
Identity identity) |
<T> Set<T> |
ACLProvider.getEntitlements(Class<T> clazz,
Resource resource,
Identity identity)
For a given Resource and an Identity, return all the entitlements
Eg: A portal page can consist of say 10 components such as windows, subpages
etc.
|
ACLEntry |
ACLImpl.getEntry(Identity identity) |
ACLEntry |
ACL.getEntry(Identity identity)
Obtains the entry that corresponds to the specified identity.
|
static String |
Util.getIdentityAsString(Identity identity)
Returns a
String representation of the specified identity. |
boolean |
RoleBasedACLProviderImpl.isAccessGranted(Resource resource,
Identity identity,
ACLPermission permission)
This method overrides the default implementation to use roles instead of the identity name when checking for
permissions.
|
boolean |
ACLProviderImpl.isAccessGranted(Resource resource,
Identity identity,
ACLPermission permission) |
boolean |
ACLProvider.isAccessGranted(Resource resource,
Identity identity,
ACLPermission permission)
Checks if the given identity has the permissions needed to access the specified resource.
|
boolean |
ACLImpl.isGranted(ACLPermission permission,
Identity identity) |
boolean |
ACL.isGranted(ACLPermission permission,
Identity identity)
Verify if the given permission is assigned to the specified
Identity . |
Constructor and Description |
---|
ACLEntryImpl(BitMaskPermission permission,
Identity identity)
Builds an instance of
ACLEntryImpl with the specified permission and identity. |
Modifier and Type | Method and Description |
---|---|
static Identity |
IdentityFactory.getIdentity(Principal principal,
Object credential) |
static Identity |
IdentityFactory.getIdentity(Principal principal,
X509Certificate[] certs,
Role roles) |
Modifier and Type | Interface and Description |
---|---|
interface |
CertificateIdentity
Represents an Identity using X509 certificates
|
interface |
CredentialIdentity<T>
An identity with credential
|
Modifier and Type | Interface and Description |
---|---|
interface |
KerberosIdentity<T>
Interface for a Kerberos based Identity
|
interface |
OpenIdIdentity<T>
Interface for a OpenID Identity
|
interface |
SAMLIdentity<T>
Interface for a SAML Identity
|
interface |
WSTrustIdentity<T>
Interface for a WS-Trust based Identity
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleIdentity
Simple Identity
|
Modifier and Type | Method and Description |
---|---|
static Identity |
IdentityFactory.createIdentity(String name) |
static Identity |
IdentityFactory.createIdentity(String identityClass,
String name) |
static Identity |
IdentityFactory.createIdentityWithRole(String name,
Role role) |
static Identity |
IdentityFactory.createIdentityWithRole(String name,
String roleName) |
static Identity |
IdentityFactory.createIdentityWithRole(String identityClass,
String name,
Role role) |
static Identity |
IdentityFactory.createIdentityWithRole(String identityClass,
String name,
String roleName) |
Identity |
PersistenceStrategy.getIdentity(String name)
Retrieves an
Identity from the backend. |
Identity |
FilePersistenceStrategy.getIdentity(String name) |
Identity |
PersistenceStrategy.persistIdentity(Identity identity)
Persists the
Identity in the backend. |
Identity |
FilePersistenceStrategy.persistIdentity(Identity identity) |
Identity |
PersistenceStrategy.updateIdentity(Identity identity)
Updates the
Identity in the backend. |
Identity |
FilePersistenceStrategy.updateIdentity(Identity identity) |
Modifier and Type | Method and Description |
---|---|
Identity |
PersistenceStrategy.persistIdentity(Identity identity)
Persists the
Identity in the backend. |
Identity |
FilePersistenceStrategy.persistIdentity(Identity identity) |
boolean |
PersistenceStrategy.removeIdentity(Identity identity)
Removes an
Identity from the backend. |
boolean |
FilePersistenceStrategy.removeIdentity(Identity identity) |
Identity |
PersistenceStrategy.updateIdentity(Identity identity)
Updates the
Identity in the backend. |
Identity |
FilePersistenceStrategy.updateIdentity(Identity identity) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.