public class ACI extends Object
Constructor and Description |
---|
ACI()
No argument constructor
|
ACI(String name)
Constructor
|
ACI(String name,
String target,
String targetFilter,
QualifiedCollection targetAttributes,
Collection users,
QualifiedCollection permissions) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Checks whether the object is passed is semantically equal to this object.
|
String |
getACIText()
Get the ACI text.
|
Collection |
getAttrRuleValue(String attrName)
Gets the collections of values for the given attrRuleName
|
Collection |
getAuthMethods()
Gets the authorization methods to which this ACI applies
|
Collection |
getClientHostNames()
Gets the client DNS host names to which this ACI applies
|
Collection |
getClientIP()
Gets the client IPs to which this ACI applies
|
Collection |
getDaysOfWeek()
Gets the days of the week on which this ACI applies
|
Collection |
getGroups()
Gets the collection of groups to whom the ACI apllies
|
String |
getName()
Gets the name of the ACI
|
QualifiedCollection |
getPermissions()
Geets the QualifiedCollection of permissions that apply to the ACI
|
Collection |
getRoles()
Gets the collection of roles to which the ACI applies
|
Collection |
getSupportedAttrRules()
Gets the names of supported attr rule names
|
String |
getTarget()
Gets the target of the ACI
|
String |
getTargetAttrFilters()
Gets the target attr filters that controls value based access control
|
QualifiedCollection |
getTargetAttributes()
Geets the QualifiedCollection of targetAttributes that apply to the ACI
|
String |
getTargetFilter()
Gets the target filter for the ACI
|
Collection |
getTimesOfDay()
Gets the times of the day at which this ACI applies
|
Collection |
getUserAttrs()
Get the user Attributes.
|
Collection |
getUserDNAttrs()
Get the DN attributes.
|
Collection |
getUsers()
Gets the collection of users to whom the ACI apllies
|
String |
getVersion()
Get the version number.
|
void |
removeTargetAttributes()
Removes the QualifiedCollection of targetAttributes that contol the
attributes to which this ACI apllies
|
void |
removeTargetFilter()
Removes the target filter of the ACI
|
void |
setACIText(String aciText)
Set the ACI text.
|
void |
setACR(com.iplanet.services.ldap.aci.ACR acr)
Set the Access Control Rule.
|
void |
setAttrRuleValue(String attrName,
Collection values)
Sets the value for the given attrRule name
|
void |
setAuthMethods(Collection authMethods)
Sets the authorization methods to which this ACI applies
|
void |
setClientHostNames(Collection clientHostNames)
Sets the client DNS host names to which this ACI applies
|
void |
setClientIP(Collection clientIP)
Sets the client IPs to which this ACI applies
|
void |
setDaysOfWeek(Collection daysOfWeek)
Sets the days of the week on which this ACI applies
|
void |
setGroupDNAttrs(Collection values)
Set the group DN attributes.
|
void |
setGroups(Collection groups)
Sets the collection of groups to whom the ACI apllies
|
void |
setName(String name)
Sets the name of the ACI
|
void |
setPermissions(QualifiedCollection permissions)
Sets the QualifiedCollection of permissions that apply to the ACI
|
void |
setRoles(Collection roles)
Sets the collection of roles to which the ACI applies
|
void |
setTarget(String target)
Sets the target of the ACI
|
void |
setTargetAttrFilters(String targetAttrFilters)
Sets the target attr filters that controls value based access control
|
void |
setTargetAttributes(QualifiedCollection targetAttributes)
Sets the QualifiedCollection of targetAttributes that apply to the ACI
|
void |
setTargetFilter(String targetFilter)
Sets the target filter of the ACI
|
void |
setTimesOfDay(Collection timesOfDay)
Sets the times of the day at which this ACI applies
|
void |
setUserAttrs(Collection values)
Set the user attributes.
|
void |
setUserDNAttrs(Collection values)
Set the user DN attributes
|
void |
setUsers(Collection users)
Sets the collection of users to whom the ACI apllies
|
void |
setVersion(String version)
Set the version number of the ACI.
|
String |
toString()
Gets a string representation of this ACI
|
static ACI |
valueOf(String aciText)
Converts aci text to ACI
|
public static final String ACI
public ACI()
public ACI(String name)
name
- name of the ACIpublic ACI(String name, String target, String targetFilter, QualifiedCollection targetAttributes, Collection users, QualifiedCollection permissions)
public boolean equals(Object object)
public void setName(String name)
name
- the name of the ACIpublic String getName()
public void setTarget(String target)
target
- the target of the ACIpublic String getTarget()
public void setTargetFilter(String targetFilter)
targetFilter
- the ldap target filter for the ACIpublic String getTargetFilter()
public void removeTargetFilter()
public void setTargetAttributes(QualifiedCollection targetAttributes)
targetAttributes
- the QualifiedCollection of target attributes that apply to the
ACIpublic QualifiedCollection getTargetAttributes()
public void removeTargetAttributes()
public void setPermissions(QualifiedCollection permissions)
permissions
- the QualifiedCollection of permissions that apply to the ACIpublic QualifiedCollection getPermissions()
public void setUsers(Collection users)
users
- the collection of users to whom the ACI aplliespublic Collection getUsers()
public void setGroups(Collection groups)
groups
- the collection of groups to whom the ACI aplliespublic Collection getGroups()
public void setRoles(Collection roles)
roles
- the collection of roles to which the ACI appliespublic Collection getRoles()
public void setClientIP(Collection clientIP)
clientIP
- collection of client IPs to which this ACI appliespublic Collection getClientIP()
public void setClientHostNames(Collection clientHostNames)
clientHostNames
- collection of DNS host names to which this ACI appliespublic Collection getClientHostNames()
public void setTimesOfDay(Collection timesOfDay)
timesOfDay
- collection of timesOfDay at which this ACI appliespublic Collection getTimesOfDay()
public void setDaysOfWeek(Collection daysOfWeek)
daysOfWeek
- collection of days of week on which this ACI appliespublic Collection getDaysOfWeek()
public void setAuthMethods(Collection authMethods)
authMethods
- the collection of authorization methods to which this ACI
appliespublic Collection getAuthMethods()
public void setAttrRuleValue(String attrName, Collection values) throws ACIComposeException
attrName
- name of the attributevalues
- collections of value for the attr ruleACIComposeException
public Collection getAttrRuleValue(String attrName) throws ACIException
ACIException
public Collection getSupportedAttrRules()
public void setTargetAttrFilters(String targetAttrFilters)
targetAttrFilters
- string defining a filter for value based access controlpublic String getTargetAttrFilters()
public String toString()
public static ACI valueOf(String aciText) throws ACIParseException
aciText
- value of aci attribute, typically read from directoy serverACIParseException
public void setUserDNAttrs(Collection values)
public Collection getUserDNAttrs()
public void setGroupDNAttrs(Collection values)
public void setUserAttrs(Collection values)
public Collection getUserAttrs()
public void setACIText(String aciText)
public String getACIText()
public void setACR(com.iplanet.services.ldap.aci.ACR acr)
public void setVersion(String version)
public String getVersion()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.