Modifier and Type | Method and Description |
---|---|
Set<Attribute> |
GroovyDataProvider.getAttributeSet(String propertySetName) |
Set<Attribute> |
DataProvider.getAttributeSet(String propertySetName)
converts the given property submap to Attribute set.
|
Modifier and Type | Method and Description |
---|---|
static Set<Attribute> |
ConnectorHelper.getAttributes(DataProvider dataProvider,
ObjectClassInfo objectClassInfo,
String testName,
String qualifier,
int sequenceNumber,
boolean checkRequired,
boolean onlyMultiValue,
boolean onlyCreateable,
boolean onlyUpdateable)
get attribute values (concatenates the qualifier with the name)
|
static Set<Attribute> |
ConnectorHelper.getCreateableAttributes(DataProvider dataProvider,
ObjectClassInfo objectClassInfo,
String testName,
int sequenceNumber,
boolean checkRequired,
boolean onlyMultiValue)
Get createable attributes' values.
|
static Set<Attribute> |
ConnectorHelper.getUpdateableAttributes(DataProvider dataProvider,
ObjectClassInfo objectClassInfo,
String testName,
String qualifier,
int sequenceNumber,
boolean checkRequired,
boolean onlyMultiValue)
Get updateable attributes' values.
|
protected static Set<Attribute> |
UpdateApiOpTests.mergeAttributeSets(Set<Attribute> attrSet1,
Set<Attribute> attrSet2)
Returns new attribute set which contains all attributes from both sets.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ConnectorHelper.isCreateable(ObjectClassInfo objectClassInfo,
Attribute attribute)
Whether is attribute Createable.
|
static boolean |
ConnectorHelper.isReadable(ObjectClassInfo objectClassInfo,
Attribute attribute)
Whether is attribute readable.
|
static boolean |
ConnectorHelper.isRequired(ObjectClassInfo objectClassInfo,
Attribute attribute)
Whether is attribute required.
|
static boolean |
ConnectorHelper.isReturnedByDefault(ObjectClassInfo objectClassInfo,
Attribute attribute)
Whether is attribute returnedByDefault.
|
static boolean |
ConnectorHelper.isUpdateable(ObjectClassInfo objectClassInfo,
Attribute attribute)
Whether is attribute readable.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ConnectorHelper.checkObject(ObjectClassInfo objectClassInfo,
ConnectorObject connectorObj,
Set<Attribute> requestedAttributes)
Checks if object has expected attributes and values.
|
static boolean |
ConnectorHelper.checkObject(ObjectClassInfo objectClassInfo,
ConnectorObject connectorObj,
Set<Attribute> requestedAttributes,
boolean checkNotReturnedByDefault)
Checks if object has expected attributes and values.
|
static void |
ConnectorHelper.checkSyncDelta(ObjectClassInfo ocInfo,
SyncDelta delta,
Uid uid,
Set<Attribute> attributes,
SyncDeltaType deltaType,
boolean checkNotReturnedByDefault)
Check that passed SyncDelta has exptected values.
|
protected static Set<Attribute> |
UpdateApiOpTests.mergeAttributeSets(Set<Attribute> attrSet1,
Set<Attribute> attrSet2)
Returns new attribute set which contains all attributes from both sets.
|
protected static Set<Attribute> |
UpdateApiOpTests.mergeAttributeSets(Set<Attribute> attrSet1,
Set<Attribute> attrSet2)
Returns new attribute set which contains all attributes from both sets.
|
Modifier and Type | Method and Description |
---|---|
Uid |
UpdateApiOp.addAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> valuesToAdd,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
adding to the current values of each attribute the values provided. |
Uid |
CreateApiOp.create(ObjectClass objectClass,
Set<Attribute> createAttributes,
OperationOptions options)
Create a target object based on the specified attributes.
|
Uid |
UpdateApiOp.removeAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> valuesToRemove,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
removing from the current values of each attribute the values provided. |
Uid |
UpdateApiOp.update(ObjectClass objectClass,
Uid uid,
Set<Attribute> replaceAttributes,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
replacing the current values of each attribute with the values provided. |
Modifier and Type | Class and Description |
---|---|
class |
Name
A single-valued attribute that represents the user-friendly identifier
of an object on a target resource.
|
class |
Uid
A single-valued attribute that represents the unique identifier of an
object within the name-space of the target resource.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
AttributeBuilder.build() |
static Attribute |
AttributeBuilder.build(String name)
Creates a attribute with the specified name and a
null value. |
static Attribute |
AttributeBuilder.build(String name,
Collection<?> obj)
Creates an
Attribute with the name and the values provided. |
static Attribute |
AttributeBuilder.build(String name,
Object... args)
Creates an
Attribute with the name and the values provided. |
static Attribute |
AttributeBuilder.buildCurrentPassword(char[] password)
Builds an operational attribute that
represents the current password of an object on a target system or
application.
|
static Attribute |
AttributeBuilder.buildCurrentPassword(GuardedString password)
Builds an operational attribute that
represents the current password of an object on a target system or
application.
|
static Attribute |
AttributeBuilder.buildDisableDate(Date date)
Builds an operational attribute that
represents the date and time to disable an object on a target system or
application.
|
static Attribute |
AttributeBuilder.buildDisableDate(long date)
Builds an operational attribute that
represents the date and time to disable an object on a target system or
application.
|
static Attribute |
AttributeBuilder.buildEnabled(boolean value)
Builds an operational attribute that
represents whether object is enabled on a target system or application.
|
static Attribute |
AttributeBuilder.buildEnableDate(Date date)
Builds an operational attribute that
represents the date and time to enable an object on a target system or
application.
|
static Attribute |
AttributeBuilder.buildEnableDate(long date)
Builds an operational attribute that
represents the date and time to enable an object on a target system or
application.
|
static Attribute |
AttributeBuilder.buildLastLoginDate(Date date)
Builds an pre-defined attribute that
represents the date and time of the most recent login for an object (such
as an account) on a target system or application.
|
static Attribute |
AttributeBuilder.buildLastLoginDate(long date)
Builds an pre-defined attribute that
represents the date and time of the most recent login for an object (such
as an account) on a target system or application.
|
static Attribute |
AttributeBuilder.buildLastPasswordChangeDate(Date date)
Builds an pre-defined attribute that
represents the date and time that the password was most recently changed
for an object (such as an account) on a target system or application.
|
static Attribute |
AttributeBuilder.buildLastPasswordChangeDate(long date)
Builds an pre-defined attribute that
represents the date and time that the password was most recently changed
for an object (such as an account) on a target system or application.
|
static Attribute |
AttributeBuilder.buildLockOut(boolean lock)
Builds an operational attribute that
represents whether an object is locked out on a target system or
application.
|
static Attribute |
AttributeBuilder.buildPassword(char[] password)
Builds an operational attribute that
represents the password of an object on a target system or application.
|
static Attribute |
AttributeBuilder.buildPassword(GuardedString password)
Builds an operational attribute that
represents the password of an object on a target system or application.
|
static Attribute |
AttributeBuilder.buildPasswordChangeInterval(long value)
Builds an pre-defined attribute that
represents how often the password must be changed for an object (such as
an account) on a target system or application.
|
static Attribute |
AttributeBuilder.buildPasswordExpirationDate(Date dateTime)
Builds an operational attribute that
represents the date and time that a password will expire on a target
system or application.
|
static Attribute |
AttributeBuilder.buildPasswordExpirationDate(long dateTime)
Builds an operational attribute that
represents the date/time that a password will expire on a target system
or application.
|
static Attribute |
AttributeBuilder.buildPasswordExpired(boolean value)
Builds an operational attribute that
represents whether the password of an object is expired on a target
system or application.
|
Attribute |
AttributesAccessor.find(String name)
Find the named attribute.
|
static Attribute |
AttributeUtil.find(String name,
Set<Attribute> attrs)
|
Attribute |
ConnectorObject.getAttributeByName(String name)
Get an attribute by if it exists else null.
|
static Attribute |
AttributeDeltaUtil.getEmptyAttribute(AttributeDelta attrDelta)
Get the
AttributeDelta with name specific attributesDelta. |
Modifier and Type | Method and Description |
---|---|
static Set<Attribute> |
AttributeUtil.addUid(Set<Attribute> attrs,
Uid uid)
Returns a mutable copy of the original set with the uid attribute added.
|
static Set<Attribute> |
AttributeUtil.filterUid(Set<Attribute> attrs)
Returns a mutable copy of the original set with the uid attribute
removed.
|
Set<Attribute> |
ConnectorObject.getAttributes()
Get the set of attributes that represent this object.
|
static Set<Attribute> |
AttributeUtil.getBasicAttributes(Set<Attribute> attrs)
Filter out any special attribute from the specified set.
|
static Set<Attribute> |
AttributeUtil.getSpecialAttributes(Set<Attribute> attrs)
Filter out any basic attributes from the specified set, leaving only
special attributes.
|
static Map<String,Attribute> |
AttributeUtil.toMap(Collection<? extends Attribute> attributes)
|
Modifier and Type | Method and Description |
---|---|
ConnectorObjectBuilder |
ConnectorObjectBuilder.addAttribute(Attribute... attrs)
Adds one or many attributes to the
ConnectorObject . |
static String |
AttributeUtil.getAsStringValue(Attribute attr)
Get the string value from the specified (single-valued) attribute.
|
static BigDecimal |
AttributeUtil.getBigDecimalValue(Attribute attr)
Get the big decimal value from the specified (single-valued) attribute.
|
static BigInteger |
AttributeUtil.getBigIntegerValue(Attribute attr)
Get the big integer value from the specified (single-valued) attribute.
|
static Boolean |
AttributeUtil.getBooleanValue(Attribute attr)
Get the boolean value from the specified (single-valued) attribute.
|
static Byte[] |
AttributeUtil.getByteArrayValue(Attribute attr)
Get the byte array value from the specified (single-valued) attribute.
|
static Byte |
AttributeUtil.getByteValue(Attribute attr)
Get the byte value from the specified (single-valued) attribute.
|
static Character |
AttributeUtil.getCharacterValue(Attribute attr)
Get the character value from the specified (single-valued) attribute.
|
static Date |
AttributeUtil.getDateValue(Attribute attr)
Get the date value from the specified (single-valued) attribute that
contains a long.
|
static Double |
AttributeUtil.getDoubleValue(Attribute attr)
Get the double value from the specified (single-valued) attribute.
|
static Float |
AttributeUtil.getFloatValue(Attribute attr)
Get the float value from the specified (single-valued) attribute.
|
static GuardedByteArray |
AttributeUtil.getGuardedByteArrayValue(Attribute attr)
Get the
GuardedByteArray value from the specified (single-valued)
attribute. |
static GuardedString |
AttributeUtil.getGuardedStringValue(Attribute attr)
Get the
GuardedString value from the specified (single-valued)
attribute. |
static Integer |
AttributeUtil.getIntegerValue(Attribute attr)
Get the integer value from the specified (single-valued) attribute.
|
static Long |
AttributeUtil.getLongValue(Attribute attr)
Get the long value from the specified (single-valued) attribute.
|
static Map<String,Object> |
AttributeUtil.getMapValue(Attribute attr)
Get the map value from the specified (single-valued) attribute.
|
static Object |
AttributeUtil.getSingleValue(Attribute attr)
Get the
Object value from the specified (single-valued)
attribute. |
static String |
AttributeUtil.getStringValue(Attribute attr)
Get the string value from the specified (single-valued) attribute.
|
static boolean |
OperationalAttributes.isOperationalAttribute(Attribute attr) |
static boolean |
AttributeUtil.isSpecial(Attribute attr)
Determines whether the specified attribute is a special attribute.
|
Modifier and Type | Method and Description |
---|---|
ConnectorObjectBuilder |
ConnectorObjectBuilder.addAttributes(Collection<Attribute> attrs)
Add all the
Attribute s of a Collection . |
static Set<Attribute> |
AttributeUtil.addUid(Set<Attribute> attrs,
Uid uid)
Returns a mutable copy of the original set with the uid attribute added.
|
static Set<Attribute> |
AttributeUtil.filterUid(Set<Attribute> attrs)
Returns a mutable copy of the original set with the uid attribute
removed.
|
static Attribute |
AttributeUtil.find(String name,
Set<Attribute> attrs)
|
static Set<Attribute> |
AttributeUtil.getBasicAttributes(Set<Attribute> attrs)
Filter out any special attribute from the specified set.
|
static GuardedString |
AttributeUtil.getCurrentPasswordValue(Set<Attribute> attrs)
Get the current password value from the provided set of
Attribute
s. |
static Date |
AttributeUtil.getEnableDate(Set<Attribute> attrs)
Get the enable date from the set of attributes.
|
static Name |
AttributeUtil.getNameFromAttributes(Set<Attribute> attrs)
Get the
Name attribute from the specified set of attributes. |
static Boolean |
AttributeUtil.getPasswordExpired(Set<Attribute> attrs)
Get the password expired attribute from a
Collection of
Attribute s. |
static GuardedString |
AttributeUtil.getPasswordValue(Set<Attribute> attrs)
Get the password value from the provided set of
Attribute s. |
static Set<Attribute> |
AttributeUtil.getSpecialAttributes(Set<Attribute> attrs)
Filter out any basic attributes from the specified set, leaving only
special attributes.
|
static Uid |
AttributeUtil.getUidAttribute(Set<Attribute> attrs)
Get the
Uid from the specified set of attributes. |
static Map<String,Attribute> |
AttributeUtil.toMap(Collection<? extends Attribute> attributes)
|
Constructor and Description |
---|
AttributesAccessor(Set<Attribute> attrs) |
ConnectorObject(ObjectClass objectClass,
Set<? extends Attribute> attributes)
Public only for serialization; please use
ConnectorObjectBuilder . |
Modifier and Type | Method and Description |
---|---|
Attribute |
AttributeFilter.getAttribute()
Get the internal attribute.
|
Modifier and Type | Method and Description |
---|---|
static Filter |
FilterBuilder.contains(Attribute attr)
Select only an input
ConnectorObject with a value for the
specified Attribute that contains as any substring
the value of the specified Attribute . |
static Filter |
FilterBuilder.containsAllValues(Attribute attr)
Select only an input
ConnectorObject with a value for the
specified Attribute that contains all the values from the
specified Attribute . |
static Filter |
FilterBuilder.endsWith(Attribute attr)
Select only an input
ConnectorObject with a value for the
specified Attribute that
contains as a final substring the value of the specified
Attribute . |
static Filter |
FilterBuilder.equalsIgnoreCase(Attribute attr)
Select only an input
ConnectorObject with a value for the
specified Attribute that is equal to, not considering the case
the value of the specified Attribute . |
static Filter |
FilterBuilder.equalTo(Attribute attr)
Select only an input
ConnectorObject with a value for the
specified Attribute that is lexically equal to the
value of the specified Attribute . |
static Filter |
FilterBuilder.greaterThan(Attribute attr)
Select only an input
ConnectorObject with a value for the
specified Attribute that is lexically greater than
the value of the specified Attribute . |
static Filter |
FilterBuilder.greaterThanOrEqualTo(Attribute attr)
Select only an input
ConnectorObject with a value for the
specified Attribute that is
lexically greater than or equal to the value of the specified
Attribute . |
static Filter |
FilterBuilder.lessThan(Attribute attr)
Select only an input
ConnectorObject with a value for the
specified Attribute that is lexically less than the
value of the specified Attribute . |
static Filter |
FilterBuilder.lessThanOrEqualTo(Attribute attr)
Select only an input
ConnectorObject with a value for the
specified Attribute that is
lexically less than or equal to the value of the specified
Attribute . |
static Filter |
FilterBuilder.startsWith(Attribute attr)
Select only an input
ConnectorObject with a value for the
specified Attribute that contains as an
initial substring the value of the specified
Attribute . |
Constructor and Description |
---|
ContainsAllValuesFilter(Attribute attr)
Public only as an artifact of the implementation.
|
ContainsFilter(Attribute attr) |
EndsWithFilter(Attribute attr) |
EqualsFilter(Attribute attr)
Public only as an artifact of the implementation.
|
EqualsIgnoreCaseFilter(Attribute attr) |
GreaterThanFilter(Attribute attr)
Determine if the
ConnectorObject Attribute value is
greater than the one provided in the filter. |
GreaterThanOrEqualFilter(Attribute attr) |
LessThanFilter(Attribute attr) |
LessThanOrEqualFilter(Attribute attr) |
StartsWithFilter(Attribute attr) |
Modifier and Type | Method and Description |
---|---|
Uid |
AbstractConnectorFacade.addAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> attrs,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
adding to the current values of each attribute the values provided. |
Uid |
AbstractConnectorFacade.create(ObjectClass objectClass,
Set<Attribute> createAttributes,
OperationOptions options)
Create a target object based on the specified attributes.
|
Uid |
AbstractConnectorFacade.removeAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> attrs,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
removing from the current values of each attribute the values provided. |
Uid |
AbstractConnectorFacade.update(ObjectClass objectClass,
Uid uid,
Set<Attribute> attrs,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
replacing the current values of each attribute with the values provided. |
Modifier and Type | Method and Description |
---|---|
Attribute |
ObjectNormalizerFacade.normalizeAttribute(Attribute attribute)
Returns the normalized value of the attribute.
|
Attribute |
CaseNormalizer.normalizeAttribute(ObjectClass oclass,
Attribute attribute) |
Modifier and Type | Method and Description |
---|---|
Set<Attribute> |
UpdateImpl.merge(Set<Attribute> updateAttrs,
Set<Attribute> baseAttrs,
boolean add)
Merges two connector objects into a single updated object.
|
Set<Attribute> |
ObjectNormalizerFacade.normalizeAttributes(Set<Attribute> attributes)
Returns the normalized set of attributes or null if the original set is
null.
|
Set<Attribute> |
AttributesToGetResultsHandler.reduceToAttrsToGet(Set<Attribute> attributesToGet)
Simple method that clones the object and remove the attribute thats are
not in the
OperationOptions.OP_ATTRIBUTES_TO_GET set. |
Modifier and Type | Method and Description |
---|---|
Attribute |
ObjectNormalizerFacade.normalizeAttribute(Attribute attribute)
Returns the normalized value of the attribute.
|
Attribute |
CaseNormalizer.normalizeAttribute(ObjectClass oclass,
Attribute attribute) |
Modifier and Type | Method and Description |
---|---|
Uid |
UpdateImpl.addAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> valuesToAdd,
OperationOptions options) |
Uid |
CreateImpl.create(ObjectClass objectClass,
Set<Attribute> createAttributes,
OperationOptions options)
Calls the create method on the Connector side.
|
Set<Attribute> |
UpdateImpl.merge(Set<Attribute> updateAttrs,
Set<Attribute> baseAttrs,
boolean add)
Merges two connector objects into a single updated object.
|
Set<Attribute> |
UpdateImpl.merge(Set<Attribute> updateAttrs,
Set<Attribute> baseAttrs,
boolean add)
Merges two connector objects into a single updated object.
|
Set<Attribute> |
ObjectNormalizerFacade.normalizeAttributes(Set<Attribute> attributes)
Returns the normalized set of attributes or null if the original set is
null.
|
Set<Attribute> |
AttributesToGetResultsHandler.reduceToAttrsToGet(Set<Attribute> attributesToGet)
Simple method that clones the object and remove the attribute thats are
not in the
OperationOptions.OP_ATTRIBUTES_TO_GET set. |
Uid |
UpdateImpl.removeAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> valuesToRemove,
OperationOptions options) |
Uid |
UpdateImpl.update(ObjectClass objectClass,
Uid uid,
Set<Attribute> replaceAttributes,
OperationOptions options) |
static void |
UpdateImpl.validateInput(ObjectClass objectClass,
Uid uid,
Set<Attribute> replaceAttributes,
boolean isDelta)
Makes things easier if you can trust the input.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
AttributeNormalizer.normalizeAttribute(ObjectClass objectClass,
Attribute attribute) |
Modifier and Type | Method and Description |
---|---|
Attribute |
AttributeNormalizer.normalizeAttribute(ObjectClass objectClass,
Attribute attribute) |
Modifier and Type | Method and Description |
---|---|
Uid |
UpdateAttributeValuesOp.addAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> valuesToAdd,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
adding to the current values of each attribute the values provided. |
Uid |
CreateOp.create(ObjectClass objectClass,
Set<Attribute> createAttributes,
OperationOptions options)
The
Connector developer is responsible for taking the attributes
given (which always includes the ObjectClass ) and create an
object and its Uid . |
Uid |
UpdateAttributeValuesOp.removeAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> valuesToRemove,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
removing from the current values of each attribute the values provided. |
Uid |
UpdateOp.update(ObjectClass objectClass,
Uid uid,
Set<Attribute> replaceAttributes,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
replacing the current values of each attribute with the values provided. |
Modifier and Type | Method and Description |
---|---|
Uid |
TstAbstractConnector.create(ObjectClass objectClass,
Set<Attribute> createAttributes,
OperationOptions options) |
Uid |
TstConnector.create(ObjectClass objectClass,
Set<Attribute> createAttributes,
OperationOptions options) |
Copyright © 2022. All rights reserved.