public class ApplicationPrivilege extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ApplicationPrivilege.Action |
static class |
ApplicationPrivilege.PossibleAction |
Constructor and Description |
---|
ApplicationPrivilege(String name) |
Modifier and Type | Method and Description |
---|---|
void |
addApplicationResource(String applicationName,
Set<String> resources) |
ApplicationPrivilege.PossibleAction |
getActionValues() |
Set<String> |
getApplicationNames() |
EntitlementCondition |
getCondition()
Returns the condition the privilege
|
String |
getCreatedBy()
Returns the user ID who created the policy.
|
long |
getCreationDate()
Returns creation date.
|
String |
getDescription()
Returns the description of the privilege.
|
String |
getLastModifiedBy()
Returns the user ID who last modified the policy.
|
long |
getLastModifiedDate()
Returns last modified date.
|
String |
getName()
Returns the name of the privilege.
|
Set<String> |
getResourceNames(String applicationName) |
Set<SubjectImplementation> |
getSubjects()
Returns the eSubject the privilege
|
void |
setActionValues(ApplicationPrivilege.PossibleAction actions) |
void |
setApplicationResources(Map<String,Set<String>> map) |
void |
setCondition(EntitlementCondition condition)
Sets the condition the privilege
|
void |
setCreatedBy(String createdBy)
Sets the user ID who created the policy.
|
void |
setCreationDate(long date)
Sets creation date.
|
void |
setDescription(String desc)
Sets the description of the privilege.
|
void |
setLastModifiedBy(String lastModifiedBy)
Sets the user ID who last modified the policy.
|
void |
setLastModifiedDate(long date)
Sets last modified date.
|
void |
setSubject(Set<SubjectImplementation> entitlementSubjects)
Sets entitlement subject.
|
public ApplicationPrivilege(String name)
public void setSubject(Set<SubjectImplementation> entitlementSubjects) throws EntitlementException
entitlementSubjects
- Entitlement subjectEntitlementException
- if subject is null.public String getName()
public void setDescription(String desc)
desc
- Description of the privilege.public String getDescription()
public Set<SubjectImplementation> getSubjects()
public EntitlementCondition getCondition()
public void setCondition(EntitlementCondition condition)
condition
- condition of the privilege.public long getCreationDate()
public long getLastModifiedDate()
public void setCreationDate(long date)
date
- creation date.public void setLastModifiedDate(long date)
date
- last modified date.public void setLastModifiedBy(String lastModifiedBy)
lastModifiedBy
- user ID who last modified the policy.public void setCreatedBy(String createdBy)
createdBy
- user ID who created the policy.public String getLastModifiedBy()
public String getCreatedBy()
public ApplicationPrivilege.PossibleAction getActionValues()
public void addApplicationResource(String applicationName, Set<String> resources)
public void setActionValues(ApplicationPrivilege.PossibleAction actions)
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.