| Package | Description |
|---|---|
| org.picketlink.idm | |
| org.picketlink.idm.config | |
| org.picketlink.idm.model | |
| org.picketlink.idm.query | |
| org.picketlink.idm.spi |
| Modifier and Type | Method and Description |
|---|---|
<T extends IdentityType> |
IdentityManager.createIdentityQuery(Class<T> identityType)
Creates an
IdentityQuery that can be used to query for IdentityType instances. |
<T extends IdentityType> |
IdentityManager.lookupIdentityById(Class<T> identityType,
String id)
Retrieves an
IdentityType with the given identifier. |
| Modifier and Type | Method and Description |
|---|---|
void |
IdentityManager.add(IdentityType identityType)
Adds the given
IdentityType instance to the configured identity store. |
void |
IdentityManager.grantGroupRole(IdentityType assignee,
Role role,
Group group)
|
void |
IdentityManager.grantRole(IdentityType identityType,
Role role)
Grants the given
Role to the provided IdentityType. |
boolean |
IdentityManager.hasGroupRole(IdentityType assignee,
Role role,
Group group)
|
boolean |
IdentityManager.hasRole(IdentityType identityType,
Role role)
Checks if the given
Role is granted to the provided IdentityType. |
IdentityManagementException |
IDMMessages.identityTypeAddFailed(IdentityType identityType,
Throwable t) |
IdentityManagementException |
IDMMessages.identityTypeRemoveFailed(IdentityType identityType,
Throwable t) |
IdentityManagementException |
IDMMessages.identityTypeUpdateFailed(IdentityType identityType,
Throwable t) |
void |
IdentityCache.invalidate(Partition partition,
IdentityType identity) |
boolean |
IdentityManager.isMember(IdentityType identityType,
Group group)
Checks if the given
IdentityType is a member of a specific Group. |
void |
IdentityManager.loadAttribute(IdentityType identityType,
String attributeName) |
IdentityManagementException |
IDMMessages.relationshipUnsupportedGrantAssigneeType(IdentityType identityType) |
IdentityManagementException |
IDMMessages.relationshipUnsupportedGroupMemberType(IdentityType identityType) |
void |
IdentityManager.remove(IdentityType value)
Removes the given
IdentityType instance from the configured identity store. |
void |
IdentityManager.revokeGroupRole(IdentityType assignee,
Role role,
Group group)
|
void |
IdentityManager.revokeRole(IdentityType identityType,
Role role)
Revokes the given
Role from the provided IdentityType. |
void |
IdentityManager.update(IdentityType identityType)
Updates the given
IdentityType instance. |
| Modifier and Type | Method and Description |
|---|---|
IdentityManagementException |
IDMMessages.identityTypeAlreadyExists(Class<? extends IdentityType> type,
String identifier,
Partition partition) |
IdentityManagementException |
IDMMessages.identityTypeUnsupportedType(Class<? extends IdentityType> type) |
SecurityConfigurationException |
IDMMessages.jpaConfigDiscriminatorNotFoundForIdentityType(Class<? extends IdentityType> type) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends IdentityType> |
JPAIdentityStoreConfiguration.getIdentityTypeFromDiscriminator(String discriminator) |
| Modifier and Type | Method and Description |
|---|---|
String |
JPAIdentityStoreConfiguration.getIdentityTypeDiscriminator(Class<? extends IdentityType> identityType) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Agent
Represents an external entity that interacts with the application, such as a user
or a third party application
|
interface |
Group
Group representation
|
interface |
Role
Role representation
|
interface |
User
This interface represents a User; a human or non-human agent that may
consume the services provided by an application.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractIdentityType
Abstract base class for IdentityType implementations
|
class |
SimpleAgent
Simple implementation of the Agent interface
|
class |
SimpleGroup
Simple implementation of the Group interface
|
class |
SimpleRole
Simple implementation of the Role interface
|
class |
SimpleUser
A simple User implementation
|
| Modifier and Type | Method and Description |
|---|---|
IdentityType |
Grant.getAssignee() |
| Modifier and Type | Method and Description |
|---|---|
void |
Grant.setAssignee(IdentityType assignee) |
| Constructor and Description |
|---|
Grant(IdentityType assignee,
Role role) |
GroupRole(IdentityType assignee,
Group group,
Role role) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IdentityQuery<T extends IdentityType>
Unified identity query API
|
| Modifier and Type | Method and Description |
|---|---|
<V extends IdentityType> |
IdentityStore.countQueryResults(SecurityContext context,
IdentityQuery<V> identityQuery) |
<V extends IdentityType> |
IdentityStore.fetchQueryResults(SecurityContext context,
IdentityQuery<V> identityQuery) |
| Modifier and Type | Method and Description |
|---|---|
<V extends Serializable> |
IdentityStore.getAttribute(SecurityContext context,
IdentityType identityType,
String attributeName)
Returns the Attribute value with the specified name, for the specified IdentityType
|
void |
IdentityStore.removeAttribute(SecurityContext context,
IdentityType identityType,
String attributeName)
Removes the specified Attribute value, for the specified IdentityType
|
void |
IdentityStore.setAttribute(SecurityContext context,
IdentityType identityType,
Attribute<? extends Serializable> attribute)
Sets the specified Attribute value for the specified IdentityType
|
Copyright © 2013. All Rights Reserved.