public boolean isActive() { return sessionWrapper.isTransactionActive(); } }
public void updateCredential(IdentityStoreInvocationContext ctx, IdentityObject identityObject, IdentityObjectCredential credential) throws IdentityException { // Should not be cached identityStore.updateCredential(ctx, identityObject, credential); }
public boolean validateCredential(IdentityStoreInvocationContext ctx, IdentityObject identityObject, IdentityObjectCredential credential) throws IdentityException { // Should not be cached return identityStore.validateCredential(ctx, identityObject, credential); }
public void close() throws IdentityException { sessionContext.resolveStoreInvocationContext().getIdentityStoreSession().close(); }
public boolean isRelationshipTypeSupported(IdentityObjectType fromType, IdentityObjectType toType, IdentityObjectRelationshipType relationshipType) throws IdentityException { IdentityStore fromStore = resolveIdentityStore(fromType); IdentityStore toStore = resolveIdentityStore(toType); if (fromStore == toStore) { return fromStore.getSupportedFeatures().isRelationshipTypeSupported(fromType, toType, relationshipType); } else { return defaultIdentityStore.getSupportedFeatures().isRelationshipTypeSupported(fromType, toType, relationshipType); } }
public boolean isCredentialSupported(IdentityObjectType identityObjectType, IdentityObjectCredentialType credentialType) { return resolveIdentityStore(identityObjectType).getSupportedFeatures().isCredentialSupported(identityObjectType, credentialType); }
public boolean isIdentityObjectTypeSupported(IdentityObjectType identityObjectType) { return resolveIdentityStore(identityObjectType).getSupportedFeatures().isIdentityObjectTypeSupported(identityObjectType); }
public boolean isIdentityObjectAddRemoveSupported(IdentityObjectType objectType) { return resolveIdentityStore(objectType).getSupportedFeatures().isIdentityObjectAddRemoveSupported(objectType); }
public IdentityStoreSession createIdentityStoreSession( Map<String, Object> sessionOptions) throws IdentityException { return attributeStore.createIdentityStoreSession(sessionOptions); }
public FeaturesMetaData getSupportedFeatures() { return defaultIdentityStore.getSupportedFeatures(); }
@Override public String toString() { return "CacheIdentityStoreWrapper (IdentityStore=" + identityStore.getId() + ")"; }
public Set<String> getSupportedAttributeNames(IdentityStoreInvocationContext invocationContext, IdentityObjectType identityType) throws IdentityException { // Doesn't need to be cached return attributeStore.getSupportedAttributeNames(invocationContext, identityType); }
public Map<String, IdentityObjectAttributeMetaData> getAttributesMetaData(IdentityStoreInvocationContext invocationContext, IdentityObjectType identityType) { // Doesn't need to be cached return attributeStore.getAttributesMetaData(invocationContext, identityType); }
@Override public String toString() { return "CacheAttributeStoreWrapper (AttributeStore=" + attributeStore.getId() + ")"; }
public void start() { sessionWrapper.startTransaction(); }
public void rollback() { sessionWrapper.rollbackTransaction(); }
public void bootstrap(IdentityStoreConfigurationContext configurationContext) throws IdentityException { identityStore.bootstrap(configurationContext); }
public void commit() { sessionWrapper.commitTransaction(); }
public IdentityStoreSession createIdentityStoreSession() throws IdentityException { return attributeStore.createIdentityStoreSession(); }
public FeaturesMetaData getSupportedFeatures() { return identityStore.getSupportedFeatures(); }