|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Identity | |
|---|---|
| org.jboss.security | The basic security interfaces and classes are now located in the jbosssx module. |
| org.jboss.security.acl | |
| org.jboss.security.identity.extensions | |
| org.jboss.security.identity.fed | |
| Uses of Identity in org.jboss.security |
|---|
| Methods in org.jboss.security that return types with arguments of type Identity | |
|---|---|
Set<Identity> |
SubjectInfo.getIdentities()
|
Set<Identity> |
SecurityContextUtil.getIdentities(Class<?> clazz)
Get a set of identities of a particular type |
| Methods in org.jboss.security with parameters of type Identity | ||
|---|---|---|
void |
SubjectInfo.addIdentity(Identity id)
|
|
void |
SecurityContextUtil.addIdentity(Identity id)
Add an Identity to the Security Context |
|
int |
AuthorizationManager.authorize(Resource resource,
Identity identity,
Permission permission)
Authorize access to the resource if the specified identity has the proper permissions. |
|
void |
SecurityContextUtil.createSubjectInfo(Identity identity,
Subject theSubject)
Create a SubjectInfo |
|
|
AuthorizationManager.getEntitlements(Class<T> clazz,
Resource resource,
Identity identity)
Instance Based Security Get all the entitlements assigned to the components of a Resource |
|
| Method parameters in org.jboss.security with type arguments of type Identity | |
|---|---|
void |
SubjectInfo.setIdentities(Set<Identity> ids)
|
void |
SecurityContextUtil.setIdentities(Set<Identity> idSet)
Set the Identities into the Security Context |
| Uses of Identity in org.jboss.security.acl |
|---|
| Methods in org.jboss.security.acl that return Identity | |
|---|---|
Identity |
ACLEntry.getIdentity()
Obtains the Identity for which a permission has been assigned in this entry. |
| Methods in org.jboss.security.acl with parameters of type Identity | ||
|---|---|---|
abstract int |
ACLContext.authorize(Resource resource,
Identity identity,
Permission permission)
Authorize access to the resource if the specified identity has the proper permissions. |
|
|
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. |
|
abstract
|
ACLContext.getEntitlements(Class<T> clazz,
Resource resource,
Identity identity)
Instance Based Security Get all the entitlements assigned to the components of a Resource |
|
ACLEntry |
ACL.getEntry(Identity identity)
Obtains the entry that corresponds to 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 |
ACL.isGranted(ACLPermission permission,
Identity identity)
Verify if the given permission is assigned to the specified Identity. |
|
| Uses of Identity in org.jboss.security.identity.extensions |
|---|
| Subinterfaces of Identity in org.jboss.security.identity.extensions | |
|---|---|
interface |
CertificateIdentity
Represents an Identity using X509 certificates |
interface |
CredentialIdentity<T>
An identity with credential |
| Uses of Identity in org.jboss.security.identity.fed |
|---|
| Subinterfaces of Identity in org.jboss.security.identity.fed | |
|---|---|
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 |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||