Uses of Class
org.identityconnectors.framework.common.objects.ObjectClass
-
-
Uses of ObjectClass in org.identityconnectors.contract.test
Methods in org.identityconnectors.contract.test that return ObjectClass Modifier and Type Method Description static ObjectClass
ConnectorHelper. getObjectClassFromObjectClassInfo(ObjectClassInfo objectClassInfo)
Returns object class based on object class info.Methods in org.identityconnectors.contract.test with parameters of type ObjectClass Modifier and Type Method Description static boolean
ConnectorHelper. deleteObject(ConnectorFacade connectorFacade, ObjectClass objClass, Uid uid, boolean failOnError, OperationOptions opOptions)
Performs deletion of object specified by uid.ObjectClassInfo
ObjectClassRunner. getObjectClassInfo(ObjectClass objectClass)
GetsObjectClassInfo
for object class returned byObjectClassRunner#getSupportedObjectClass
.OperationOptions
ContractTestBase. getOperationOptionsByOp(ObjectClass objectClass, Class<? extends APIOperation> clazz)
Gets OperationOptions suitable for specified operation.OperationOptions
ObjectClassRunner. getOperationOptionsByOp(ObjectClass objectClass, Class<? extends APIOperation> clazz)
Gets OperationOptions suitable for specified operation.OperationOptions
ScriptOnResourceApiOpTests. getOperationOptionsByOp(ObjectClass objectClass, Class<? extends APIOperation> clazz)
boolean
ObjectClassRunner. isObjectClassSupported(ObjectClass objectClass)
Identifier which tells if the tested ObjectClass (get byObjectClassRunner#objectClass
is supported by connector or not, supported means that the ObjectClass is included in the Schemastatic boolean
ConnectorHelper. operationsSupported(ConnectorFacade connectorFacade, ObjectClass oClass, Set<Class<? extends APIOperation>> operations)
check to see if a particular objectclass supports a particular operations To succeed all the operations must be supported.static boolean
ConnectorHelper. operationSupported(ConnectorFacade connectorFacade, ObjectClass oClass, Class<? extends APIOperation> operation)
check to see if a particular objectclass supports a particular operationstatic boolean
ConnectorHelper. operationSupported(ConnectorFacade connectorFacade, ObjectClass oClass, Class<? extends APIOperation> operation1, Class<? extends APIOperation> operation2)
check to see if a particular objectclass supports a particular operationsstatic List<ConnectorObject>
ConnectorHelper. search(ConnectorFacade connectorFacade, ObjectClass objClass, Filter filter, OperationOptions opOptions)
Performs search on connector facade with specified object class, filter and operation options.static Map<Uid,ConnectorObject>
ConnectorHelper. search2Map(ConnectorFacade connectorFacade, ObjectClass objClass, Filter filter, OperationOptions opOptions)
Performs search on connector facade with specified object class, filter and operation options.static List<SyncDelta>
ConnectorHelper. sync(ConnectorFacade connectorFacade, ObjectClass objClass, SyncToken token, OperationOptions opOptions)
Performs sync on connector facade.void
SearchApiOpTests. testCaseInsensitiveSearch(ObjectClass objectClass)
Test case insensitive search for UID attribute.void
ObjectClassRunner. testContract(ObjectClass objectClass)
Main contract test entry point, it calls#testRun()
method in configured number of iterations, runs the iteration only if the operation is supported by the connectorvoid
CreateApiOpTests. testCreateFailUnsupportedAttribute(ObjectClass objectClass)
Tests create method with invalid Attribute, RuntimeException is expected connector developers can set the value of unsupported attribute using test property:testsuite.Create.unsupportedAttributeName
void
CreateApiOpTests. testCreateWithSameAttributes(ObjectClass objectClass)
Tests create twice with the same attributes.void
DeleteApiOpTests. testDeleteThrowUnknownUid(ObjectClass objectClass)
Tests that delete throwsUnknownUidException
when object is deleted for the second time.void
MultiOpTests. testDisableDateOpAttribute(ObjectClass objectClass)
Tests DISABLE_DATE attribute contractvoid
MultiOpTests. testEnableDateOpAttribute(ObjectClass objectClass)
Tests ENABLE_DATE attribute contractvoid
MultiOpTests. testEnableOpAttribute(ObjectClass objectClass)
Tests ENABLE attribute contractvoid
SyncApiOpTests. testLatestSyncToken(ObjectClass objectClass)
Tests thatSyncApiOp.getLatestSyncToken(ObjectClass)
returns really the latest sync token which is available.void
MultiOpTests. testLockOutOpAttribute(ObjectClass objectClass)
Tests LOCK_OUT attribute contractvoid
ResolveUsernameApiOpTests. testNegative(ObjectClass objectClass)
void
AttributeTests. testNonReadable(ObjectClass objectClass)
Non readable attributes should _not_ be returned by defaultvoid
AttributeTests. testNonUpdateable(ObjectClass objectClass)
Update of non-updateable attribute is not acceptable.void
AuthenticationApiOpTests. testOpEnable(ObjectClass objectClass)
Tests that disabled user cannot authenticate.void
AuthenticationApiOpTests. testOpPasswordExpirationDate(ObjectClass objectClass)
Tests that PasswordExpiredException is thrown in case PasswordExpirationDate is set to today.void
AuthenticationApiOpTests. testOpPasswordExpired(ObjectClass objectClass)
Tests that PasswordExpiredException is thrown in case PasswordExpired is updated to true.void
AuthenticationApiOpTests. testPasswordBeforePasswordExpired(ObjectClass objectClass)
Tests that connector respects order of PASSWORD and PASSWORD_EXPIRED attributes during update.void
MultiOpTests. testPasswordChangeIntervalPredAttribute(ObjectClass objectClass)
Tests PASSWORD_CHANGE_INTERVAL attribute contractvoid
MultiOpTests. testPasswordExpirationDateOpAttribute(ObjectClass objectClass)
Tests PASSWORD_EXPIRATION_DATE attribute contractvoid
MultiOpTests. testPasswordExpiredOpAttribute(ObjectClass objectClass)
Tests PASSWORD_EXPIRED attribute contractvoid
ResolveUsernameApiOpTests. testPositive(ObjectClass objectClass)
void
AttributeTests. testRequirableIsCreatable(ObjectClass objectClass)
Required attributes must be creatable.void
AttributeTests. testReturnedByDefault(ObjectClass objectClass)
Not returned by default attributes should not be returned, unless specified in attributesToGet (OperationOptions
)protected void
AttributeTests. testRun(ObjectClass objectClass)
This method will be called configured number of timesvoid
AuthenticationApiOpTests. testRun(ObjectClass objectClass)
This method will be called configured number of timesprotected void
CreateApiOpTests. testRun(ObjectClass objectClass)
This method will be called configured number of timesprotected void
DeleteApiOpTests. testRun(ObjectClass objectClass)
This method will be called configured number of timesprotected void
GetApiOpTests. testRun(ObjectClass objectClass)
This method will be called configured number of timesprotected void
MultiOpTests. testRun(ObjectClass objectClass)
Scenario test - test positive cases.protected abstract void
ObjectClassRunner. testRun(ObjectClass objectClass)
This method will be called configured number of timesprotected void
ResolveUsernameApiOpTests. testRun(ObjectClass objectClass)
protected void
SearchApiOpTests. testRun(ObjectClass objectClass)
This method will be called configured number of timesprotected void
SyncApiOpTests. testRun(ObjectClass objectClass)
This method will be called configured number of timesprotected void
UpdateApiOpTests. testRun(ObjectClass objectClass)
This method will be called configured number of timesprotected void
UpdateDeltaApiOpTests. testRun(ObjectClass objectClass)
This method will be called configured number of timesvoid
SearchApiOpTests. testSearchWithoutAttrsToGet(ObjectClass objectClass)
Test Search without specified OperationOptions attrsToGet which is the default for all other tests.void
SyncApiOpTests. testSyncWithoutAttrsToGet(ObjectClass objectClass)
Test Sync without attrsToGet.void
UpdateApiOpTests. testUpdateFailUnsupportedAttribute(ObjectClass objectClass)
Tests update method with invalid Attribute, RuntimeException is expected connector developers can set the value of unsupported attribute using test property:testsuite.Create.unsupportedAttributeName
void
UpdateApiOpTests. testUpdateToNull(ObjectClass objectClass)
The test verifies that connector doesn't throw NullPointerException or some other unexpected behavior when passed null as attribute value.void
UpdateApiOpTests. testUpdateToSameAttributes(ObjectClass objectClass)
Tests create of two different objects and then update one to the same attributes as the second. -
Uses of ObjectClass in org.identityconnectors.framework.api.operations
Methods in org.identityconnectors.framework.api.operations with parameters of type ObjectClass Modifier and Type Method Description Uid
UpdateApiOp. addAttributeValues(ObjectClass objclass, Uid uid, Set<Attribute> valuesToAdd, OperationOptions options)
Update the object specified by theObjectClass
andUid
, adding to the current values of each attribute the values provided.Uid
AuthenticationApiOp. authenticate(ObjectClass objectClass, String username, GuardedString password, OperationOptions options)
Most basic authentication available.Uid
CreateApiOp. create(ObjectClass objectClass, Set<Attribute> createAttributes, OperationOptions options)
Create a target object based on the specified attributes.void
DeleteApiOp. delete(ObjectClass objectClass, Uid uid, OperationOptions options)
Delete the object that the specified Uid identifies (if any).SyncToken
SyncApiOp. getLatestSyncToken(ObjectClass objectClass)
Returns the token corresponding to the most recent synchronization event for any instance of the specified object class.ConnectorObject
GetApiOp. getObject(ObjectClass objectClass, Uid uid, OperationOptions options)
Get a particularConnectorObject
based on theUid
.Uid
UpdateApiOp. removeAttributeValues(ObjectClass objclass, Uid uid, Set<Attribute> valuesToRemove, OperationOptions options)
Update the object specified by theObjectClass
andUid
, removing from the current values of each attribute the values provided.Uid
ResolveUsernameApiOp. resolveUsername(ObjectClass objectClass, String username, OperationOptions options)
Resolve the givenauthentication
username to the correspondingUid
.SearchResult
SearchApiOp. search(ObjectClass objectClass, Filter filter, ResultsHandler handler, OperationOptions options)
Search the resource for all objects that match the object class and filter.SyncToken
SyncApiOp. sync(ObjectClass objectClass, SyncToken token, SyncResultsHandler handler, OperationOptions options)
Request synchronization events--i.e., native changes to target objects.Uid
UpdateApiOp. update(ObjectClass objectClass, Uid uid, Set<Attribute> replaceAttributes, OperationOptions options)
Update the object specified by theObjectClass
andUid
, replacing the current values of each attribute with the values provided.Set<AttributeDelta>
UpdateDeltaApiOp. updateDelta(ObjectClass objclass, Uid uid, Set<AttributeDelta> modifications, OperationOptions options)
-
Uses of ObjectClass in org.identityconnectors.framework.common.exceptions
Constructors in org.identityconnectors.framework.common.exceptions with parameters of type ObjectClass Constructor Description UnknownUidException(Uid uid, ObjectClass objclass)
-
Uses of ObjectClass in org.identityconnectors.framework.common.objects
Fields in org.identityconnectors.framework.common.objects declared as ObjectClass Modifier and Type Field Description static ObjectClass
ObjectClass. ACCOUNT
Represents a human being in the context of a specific system or application.static ObjectClass
ObjectClass. ALL
Represents all collections that contains any object.static ObjectClass
ObjectClass. GROUP
Represents a collection that contains an object (such as an account).Methods in org.identityconnectors.framework.common.objects that return ObjectClass Modifier and Type Method Description ObjectClass
BaseConnectorObject. getObjectClass()
Gets theObjectClass
for this object.ObjectClass
QualifiedUid. getObjectClass()
Returns the object class.ObjectClass
SyncDelta. getObjectClass()
If the change described by thisSyncDelta.DELETE
and the deleted object value isnull
, this method returns the ObjectClass of the deleted object.ObjectClass
SyncDeltaBuilder. getObjectClass()
Gets the ObjectClass of the object that deleted.Methods in org.identityconnectors.framework.common.objects with parameters of type ObjectClass Modifier and Type Method Description static boolean
ObjectClassUtil. isSpecial(ObjectClass objectClass)
Determines whether the specified object class is a special object class.ConnectorObjectBuilder
ConnectorObjectBuilder. setObjectClass(ObjectClass oclass)
SyncDeltaBuilder
SyncDeltaBuilder. setObjectClass(ObjectClass objectClass)
Sets the ObjectClass of the object that deleted.Constructors in org.identityconnectors.framework.common.objects with parameters of type ObjectClass Constructor Description ConnectorObject(ObjectClass objectClass, Set<? extends Attribute> attributes)
Public only for serialization; please useConnectorObjectBuilder
.ConnectorObjectIdentification(ObjectClass objectClass, Set<? extends Attribute> attributes)
Public only for serialization; please useConnectorObjectBuilder
.QualifiedUid(ObjectClass objectClass, Uid uid)
Create a QualifiedUid. -
Uses of ObjectClass in org.identityconnectors.framework.impl.api
Methods in org.identityconnectors.framework.impl.api with parameters of type ObjectClass Modifier and Type Method Description Uid
AbstractConnectorFacade. addAttributeValues(ObjectClass objclass, Uid uid, Set<Attribute> attrs, OperationOptions options)
Update the object specified by theObjectClass
andUid
, adding to the current values of each attribute the values provided.Uid
AbstractConnectorFacade. authenticate(ObjectClass objectClass, String username, GuardedString password, OperationOptions options)
Most basic authentication available.Uid
AbstractConnectorFacade. create(ObjectClass objectClass, Set<Attribute> createAttributes, OperationOptions options)
Create a target object based on the specified attributes.void
AbstractConnectorFacade. delete(ObjectClass objectClass, Uid uid, OperationOptions options)
Delete the object that the specified Uid identifies (if any).SyncToken
AbstractConnectorFacade. getLatestSyncToken(ObjectClass objectClass)
Returns the token corresponding to the most recent synchronization event for any instance of the specified object class.ConnectorObject
AbstractConnectorFacade. getObject(ObjectClass objectClass, Uid uid, OperationOptions options)
Get a particularConnectorObject
based on theUid
.Uid
AbstractConnectorFacade. removeAttributeValues(ObjectClass objclass, Uid uid, Set<Attribute> attrs, OperationOptions options)
Update the object specified by theObjectClass
andUid
, removing from the current values of each attribute the values provided.Uid
AbstractConnectorFacade. resolveUsername(ObjectClass objectClass, String username, OperationOptions options)
Resolve the givenauthentication
username to the correspondingUid
.SearchResult
AbstractConnectorFacade. search(ObjectClass objectClass, Filter filter, ResultsHandler handler, OperationOptions options)
Search the resource for all objects that match the object class and filter.SyncToken
AbstractConnectorFacade. sync(ObjectClass objectClass, SyncToken token, SyncResultsHandler handler, OperationOptions options)
Request synchronization events--i.e., native changes to target objects.Uid
AbstractConnectorFacade. update(ObjectClass objectClass, Uid uid, Set<Attribute> attrs, OperationOptions options)
Update the object specified by theObjectClass
andUid
, replacing the current values of each attribute with the values provided.Set<AttributeDelta>
AbstractConnectorFacade. updateDelta(ObjectClass objectClass, Uid uid, Set<AttributeDelta> attrsDelta, OperationOptions options)
-
Uses of ObjectClass in org.identityconnectors.framework.impl.api.local.operations
Methods in org.identityconnectors.framework.impl.api.local.operations with parameters of type ObjectClass Modifier and Type Method Description Uid
UpdateImpl. addAttributeValues(ObjectClass objclass, Uid uid, Set<Attribute> valuesToAdd, OperationOptions options)
Uid
AuthenticationImpl. authenticate(ObjectClass objectClass, String username, GuardedString password, OperationOptions options)
Authenticate using the basic credentials.Uid
CreateImpl. create(ObjectClass objectClass, Set<Attribute> createAttributes, OperationOptions options)
Calls the create method on the Connector side.void
DeleteImpl. delete(ObjectClass objectClass, Uid uid, OperationOptions options)
Calls the delete method on the Connector side.SyncToken
SyncImpl. getLatestSyncToken(ObjectClass objectClass)
ObjectNormalizerFacade
ConnectorAPIOperationRunner. getNormalizer(ObjectClass objectClass)
ConnectorObject
GetImpl. getObject(ObjectClass objectClass, Uid uid, OperationOptions options)
Attribute
CaseNormalizer. normalizeAttribute(ObjectClass oclass, Attribute attribute)
static void
SearchImpl. rawSearch(SearchOp<?> search, ObjectClass objectClass, Filter filter, SearchResultsHandler handler, OperationOptions options, ConnectorOperationalContext operationalContext)
Public static because it is used by TestHelpersImpl.Uid
UpdateImpl. removeAttributeValues(ObjectClass objclass, Uid uid, Set<Attribute> valuesToRemove, OperationOptions options)
Uid
ResolveUsernameImpl. resolveUsername(ObjectClass objectClass, String username, OperationOptions options)
Resolve the username to anUid
.SearchResult
SearchImpl. search(ObjectClass objectClass, Filter originalFilter, ResultsHandler handler, OperationOptions options)
Call the SPI search routines to return the results to theResultsHandler
.SyncToken
SyncImpl. sync(ObjectClass objectClass, SyncToken token, SyncResultsHandler handler, OperationOptions options)
Uid
UpdateImpl. update(ObjectClass objectClass, Uid uid, Set<Attribute> replaceAttributes, OperationOptions options)
Set<AttributeDelta>
UpdateDeltaImpl. updateDelta(ObjectClass objclass, Uid uid, Set<AttributeDelta> modifications, OperationOptions options)
static void
UpdateImpl. validateInput(ObjectClass objectClass, Uid uid, Set<Attribute> replaceAttributes, boolean isDelta)
Makes things easier if you can trust the input.Constructors in org.identityconnectors.framework.impl.api.local.operations with parameters of type ObjectClass Constructor Description ObjectNormalizerFacade(ObjectClass objectClass, AttributeNormalizer normalizer)
Create a new ObjectNormalizer. -
Uses of ObjectClass in org.identityconnectors.framework.impl.test
Methods in org.identityconnectors.framework.impl.test with parameters of type ObjectClass Modifier and Type Method Description SearchResult
TestHelpersImpl. search(SearchOp<?> search, ObjectClass objectClass, Filter filter, ResultsHandler handler, OperationOptions options)
Performs a raw, unfiltered search at the SPI level, eliminating duplicates from the result set. -
Uses of ObjectClass in org.identityconnectors.framework.spi
Methods in org.identityconnectors.framework.spi with parameters of type ObjectClass Modifier and Type Method Description Attribute
AttributeNormalizer. normalizeAttribute(ObjectClass objectClass, Attribute attribute)
-
Uses of ObjectClass in org.identityconnectors.framework.spi.operations
Methods in org.identityconnectors.framework.spi.operations with parameters of type ObjectClass Modifier and Type Method Description Uid
UpdateAttributeValuesOp. addAttributeValues(ObjectClass objclass, Uid uid, Set<Attribute> valuesToAdd, OperationOptions options)
Update the object specified by theObjectClass
andUid
, adding to the current values of each attribute the values provided.Uid
AuthenticateOp. authenticate(ObjectClass objectClass, String username, GuardedString password, OperationOptions options)
Simple authentication with two parameters presumed to be user name and password.Uid
CreateOp. create(ObjectClass objectClass, Set<Attribute> createAttributes, OperationOptions options)
TheConnector
developer is responsible for taking the attributes given (which always includes theObjectClass
) and create an object and itsUid
.FilterTranslator<T>
SearchOp. createFilterTranslator(ObjectClass objectClass, OperationOptions options)
Creates a filter translator that will translate a specifiedFilter
into one or more native queries.void
DeleteOp. delete(ObjectClass objectClass, Uid uid, OperationOptions options)
TheConnector
developer is responsible for calling the native delete methods to remove the object specified by its unique id.void
SearchOp. executeQuery(ObjectClass objectClass, T query, ResultsHandler handler, OperationOptions options)
ConnectorFacade calls this method once for each native query that theSearchOp.createFilterTranslator(ObjectClass, OperationOptions)
produces in response to theFilter
passed intoSearchApiOp.search(org.identityconnectors.framework.common.objects.ObjectClass, org.identityconnectors.framework.common.objects.filter.Filter, org.identityconnectors.framework.common.objects.ResultsHandler, org.identityconnectors.framework.common.objects.OperationOptions)
.SyncToken
SyncOp. getLatestSyncToken(ObjectClass objectClass)
Returns the token corresponding to the most recent synchronization event.Uid
UpdateAttributeValuesOp. removeAttributeValues(ObjectClass objclass, Uid uid, Set<Attribute> valuesToRemove, OperationOptions options)
Update the object specified by theObjectClass
andUid
, removing from the current values of each attribute the values provided.Uid
ResolveUsernameOp. resolveUsername(ObjectClass objectClass, String username, OperationOptions options)
Resolve an object to itsUid
based on its username.void
SyncOp. sync(ObjectClass objectClass, SyncToken token, SyncResultsHandler handler, OperationOptions options)
Request synchronization events--i.e., native changes to target objects.Uid
UpdateOp. update(ObjectClass objectClass, Uid uid, Set<Attribute> replaceAttributes, OperationOptions options)
Update the object specified by theObjectClass
andUid
, replacing the current values of each attribute with the values provided.Set<AttributeDelta>
UpdateDeltaOp. updateDelta(ObjectClass objclass, Uid uid, Set<AttributeDelta> modifications, OperationOptions options)
Update the object specified by theObjectClass
andUid
, modifying the values according to the attribute deltas. -
Uses of ObjectClass in org.identityconnectors.test.common
Methods in org.identityconnectors.test.common with parameters of type ObjectClass Modifier and Type Method Description static void
TestHelpers. search(SearchOp<?> search, ObjectClass objectClass, Filter filter, ResultsHandler handler, OperationOptions options)
Performs a raw, unfiltered search at the SPI level, eliminating duplicates from the result set.static List<ConnectorObject>
TestHelpers. searchToList(SearchApiOp search, ObjectClass objectClass, Filter filter)
static List<ConnectorObject>
TestHelpers. searchToList(SearchApiOp search, ObjectClass objectClass, Filter filter, OperationOptions options)
static List<ConnectorObject>
TestHelpers. searchToList(SearchOp<?> search, ObjectClass objectClass, Filter filter)
Performs a raw, unfiltered search at the SPI level, eliminating duplicates from the result set.static List<ConnectorObject>
TestHelpers. searchToList(SearchOp<?> search, ObjectClass objectClass, Filter filter, OperationOptions options)
Performs a raw, unfiltered search at the SPI level, eliminating duplicates from the result set. -
Uses of ObjectClass in org.identityconnectors.test.common.spi
Methods in org.identityconnectors.test.common.spi with parameters of type ObjectClass Modifier and Type Method Description SearchResult
TestHelpersSpi. search(SearchOp<?> search, ObjectClass objectClass, Filter filter, ResultsHandler handler, OperationOptions options)
-
Uses of ObjectClass in org.identityconnectors.testconnector
Methods in org.identityconnectors.testconnector that return ObjectClass Modifier and Type Method Description static ObjectClass
TstConnector. userObjectClass()
Methods in org.identityconnectors.testconnector with parameters of type ObjectClass Modifier and Type Method Description Uid
TstAbstractConnector. create(ObjectClass objectClass, Set<Attribute> createAttributes, OperationOptions options)
Uid
TstConnector. create(ObjectClass objectClass, Set<Attribute> createAttributes, OperationOptions options)
FilterTranslator<Filter>
TstAbstractConnector. createFilterTranslator(ObjectClass objectClass, OperationOptions options)
FilterTranslator<String>
TstConnector. createFilterTranslator(ObjectClass objectClass, OperationOptions options)
void
TstAbstractConnector. delete(ObjectClass objectClass, Uid uid, OperationOptions options)
void
TstAbstractConnector. executeQuery(ObjectClass objectClass, Filter query, ResultsHandler handler, OperationOptions options)
void
TstConnector. executeQuery(ObjectClass objectClass, String query, ResultsHandler handler, OperationOptions options)
SyncToken
TstAbstractConnector. getLatestSyncToken(ObjectClass objectClass)
SyncToken
TstConnector. getLatestSyncToken(ObjectClass objectClass)
void
TstAbstractConnector. sync(ObjectClass objectClass, SyncToken token, SyncResultsHandler handler, OperationOptions options)
void
TstConnector. sync(ObjectClass objectClass, SyncToken token, SyncResultsHandler handler, OperationOptions options)
-