public class SAEntitlementCriteria extends SAEntitlement
SharedAccessPolicy,
SAEntitlement,
Serialized FormSAEntitlement.DefinitionType, SAEntitlement.Type| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALL_CREDENTIAL_POOLS |
static java.lang.String |
ALL_CREDENTIALS |
ID_NOT_ASSIGNED| Constructor and Description |
|---|
SAEntitlementCriteria(SAEntitlement.Type type)
Constructor for creating an entitlement for all credentials or all credential pools.
|
SAEntitlementCriteria(SAEntitlement.Type type,
java.lang.String name,
java.lang.String targetName,
java.lang.String serviceProfileName,
java.lang.String serviceName,
java.lang.String serviceGroup)
Constructor for creating an entitlement with a set of criteria.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object entitlement)
Compares the object passed in with itself.
|
java.lang.String |
getName()
Return the entitlement name.
|
int |
hashCode()
Returns a hash value that can be used in hash tables.
|
boolean |
isAll()
Check if this entitlement is for all credentials or credential pools.
|
void |
setName(java.lang.String name)
Set the entitlement name.
|
void |
setServiceName(java.lang.String serviceName)
Set the matching string for the service name.
|
void |
setServiceProfileName(java.lang.String serviceProfileName)
Set the service profile name.
|
void |
setServiceTag(java.lang.String serviceTag)
Set the matching string for the service tag.
|
void |
setTargetName(java.lang.String targetName)
Set the target name.
|
getDefinitionType, getId, getServiceName, getServiceProfileName, getServiceTag, getTargetName, getType, setTypepublic static final java.lang.String ALL_CREDENTIALS
public static final java.lang.String ALL_CREDENTIAL_POOLS
public SAEntitlementCriteria(SAEntitlement.Type type)
type - Enumerated Type value which can be Type.CREDENTIAL, or Type.CREDENTIAL_POOLpublic SAEntitlementCriteria(SAEntitlement.Type type, java.lang.String name, java.lang.String targetName, java.lang.String serviceProfileName, java.lang.String serviceName, java.lang.String serviceGroup)
type - Enumerated Type value which can be Type.CREDENTIAL, or Type.CREDENTIAL_POOLname - The entitement name.targetName - The match string for the account id, or pool name or descriptionserviceProfileName - The service profile name or empty string representing all servicesserviceName - The match string for the service nameservice - group The match string for the service group attributepublic void setName(java.lang.String name)
name - The entitement name.public void setTargetName(java.lang.String targetName)
name - The target name.public void setServiceProfileName(java.lang.String serviceProfileName)
name - The service profile name.public void setServiceName(java.lang.String serviceName)
serviceName - The service name matching string.public void setServiceTag(java.lang.String serviceTag)
serviceTag - The service group matching string.public boolean equals(java.lang.Object entitlement)
equals in class java.lang.Objectentitlement - The object to be comparedpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isAll()
public java.lang.String getName()
getName in class SAEntitlementIBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.