Uses of Interface
org.jboss.security.identity.Identity
-
Packages that use Identity 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 -
-
Uses of Identity in org.jboss.security
Methods in org.jboss.security that return types with arguments of type Identity Modifier and Type Method Description Set<Identity>
SecurityContextUtil. getIdentities(Class<?> clazz)
Get a set of identities of a particular typeSet<Identity>
SubjectInfo. getIdentities()
Methods in org.jboss.security with parameters of type Identity Modifier and Type Method Description void
SecurityContextUtil. addIdentity(Identity id)
Add an Identity to the Security Contextvoid
SubjectInfo. addIdentity(Identity id)
void
SecurityContextUtil. createSubjectInfo(Identity identity, Subject theSubject)
Create a SubjectInfovoid
SubjectInfo. removeIdentity(Identity id)
Remove an identityMethod parameters in org.jboss.security with type arguments of type Identity Modifier and Type Method Description void
SecurityContextUtil. setIdentities(Set<Identity> idSet)
Set the Identities into the Security Contextvoid
SubjectInfo. setIdentities(Set<Identity> ids)
-
Uses of Identity in org.jboss.security.acl
Methods in org.jboss.security.acl that return Identity Modifier and Type Method Description Identity
ACLEntry. getIdentity()
Obtains theIdentity
for which a permission has been assigned in this entry.Identity
ACLEntryImpl. getIdentity()
static Identity
Util. getIdentityFromString(String identityString)
Builds and returns an identity from the specifiedString
representation.Methods in org.jboss.security.acl with parameters of type Identity Modifier and Type Method Description <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.<T> Set<T>
ACLProviderImpl. getEntitlements(Class<T> clazz, Resource resource, Identity identity)
<T> Set<T>
RoleBasedACLProviderImpl. getEntitlements(Class<T> clazz, Resource resource, Identity identity)
ACLEntry
ACL. getEntry(Identity identity)
Obtains the entry that corresponds to the specified identity.ACLEntry
ACLImpl. getEntry(Identity identity)
static String
Util. getIdentityAsString(Identity identity)
Returns aString
representation of the specified identity.boolean
ACLProvider. isAccessGranted(Resource resource, Identity identity, ACLPermission permission)
Checks if the given identity has the permissions needed to access the specified resource.boolean
ACLProviderImpl. isAccessGranted(Resource resource, Identity identity, ACLPermission permission)
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
ACL. isGranted(ACLPermission permission, Identity identity)
Verify if the given permission is assigned to the specifiedIdentity
.boolean
ACLImpl. isGranted(ACLPermission permission, Identity identity)
Constructors in org.jboss.security.acl with parameters of type Identity Constructor Description ACLEntryImpl(BitMaskPermission permission, Identity identity)
Builds an instance ofACLEntryImpl
with the specified permission and identity. -
Uses of Identity in org.jboss.security.identity
Methods in org.jboss.security.identity that return Identity Modifier and Type Method Description static Identity
IdentityFactory. getIdentity(Principal principal, Object credential)
static Identity
IdentityFactory. getIdentity(Principal principal, X509Certificate[] certs, Role roles)
-
Uses of Identity in org.jboss.security.identity.extensions
Subinterfaces of Identity in org.jboss.security.identity.extensions Modifier and Type Interface Description interface
CertificateIdentity
Represents an Identity using X509 certificatesinterface
CredentialIdentity<T>
An identity with credential -
Uses of Identity in org.jboss.security.identity.fed
Subinterfaces of Identity in org.jboss.security.identity.fed Modifier and Type Interface Description interface
KerberosIdentity<T>
Interface for a Kerberos based Identityinterface
OpenIdIdentity<T>
Interface for a OpenID Identityinterface
SAMLIdentity<T>
Interface for a SAML Identityinterface
WSTrustIdentity<T>
Interface for a WS-Trust based Identity -
Uses of Identity in org.jboss.security.identity.plugins
Classes in org.jboss.security.identity.plugins that implement Identity Modifier and Type Class Description class
SimpleIdentity
Simple IdentityMethods in org.jboss.security.identity.plugins that return Identity Modifier and Type Method Description static Identity
IdentityFactory. createIdentity(String name)
static Identity
IdentityFactory. createIdentity(String identityClass, String name)
static Identity
IdentityFactory. createIdentityWithRole(String name, String roleName)
static Identity
IdentityFactory. createIdentityWithRole(String identityClass, String name, String roleName)
static Identity
IdentityFactory. createIdentityWithRole(String identityClass, String name, Role role)
static Identity
IdentityFactory. createIdentityWithRole(String name, Role role)
Identity
FilePersistenceStrategy. getIdentity(String name)
Identity
PersistenceStrategy. getIdentity(String name)
Retrieves anIdentity
from the backend.Identity
FilePersistenceStrategy. persistIdentity(Identity identity)
Identity
PersistenceStrategy. persistIdentity(Identity identity)
Persists theIdentity
in the backend.Identity
FilePersistenceStrategy. updateIdentity(Identity identity)
Identity
PersistenceStrategy. updateIdentity(Identity identity)
Updates theIdentity
in the backend.Methods in org.jboss.security.identity.plugins with parameters of type Identity Modifier and Type Method Description Identity
FilePersistenceStrategy. persistIdentity(Identity identity)
Identity
PersistenceStrategy. persistIdentity(Identity identity)
Persists theIdentity
in the backend.boolean
FilePersistenceStrategy. removeIdentity(Identity identity)
boolean
PersistenceStrategy. removeIdentity(Identity identity)
Removes anIdentity
from the backend.Identity
FilePersistenceStrategy. updateIdentity(Identity identity)
Identity
PersistenceStrategy. updateIdentity(Identity identity)
Updates theIdentity
in the backend.
-