Uses of Class
com.evolveum.midpoint.prism.crypto.EncryptionException
Packages that use EncryptionException
Package
Description
-
Uses of EncryptionException in com.evolveum.midpoint.common.crypto
Methods in com.evolveum.midpoint.common.crypto that throw EncryptionExceptionModifier and TypeMethodDescriptionstatic <T extends ObjectType>
Collection<? extends ItemDelta<?,?>> CryptoUtil.computeReencryptModifications(Protector protector, PrismObject<T> object) static <T extends ObjectType>
voidCryptoUtil.encryptValues(Protector protector, ObjectDelta<T> delta) Encrypts all encryptable values in delta.static <T extends ObjectType>
voidCryptoUtil.encryptValues(Protector protector, PrismObject<T> object) Encrypts all encryptable values in the object.static <T extends ObjectType>
intCryptoUtil.reencryptValues(Protector protector, PrismObject<T> object) Re-encrypts all encryptable values in the object. -
Uses of EncryptionException in com.evolveum.midpoint.common.secrets
Methods in com.evolveum.midpoint.common.secrets that throw EncryptionExceptionModifier and TypeMethodDescriptionCacheableSecretsProviderDelegate.getSecretBinary(@NotNull String key) SecretsProviderImpl.getSecretBinary(@NotNull String key) CacheableSecretsProviderDelegate.getSecretString(@NotNull String key) SecretsProviderImpl.getSecretString(@NotNull String key) protected <ST> STCacheableSecretsProviderDelegate.resolveSecret(@NotNull String key, @NotNull Class<ST> type) protected <ST> STContainerSecretsProvider.resolveSecret(@NotNull String key, @NotNull Class<ST> type) protected <ST> STPropertiesSecretsProvider.resolveSecret(@NotNull String key, @NotNull Class<ST> type) protected abstract <ST> STSecretsProviderImpl.resolveSecret(@NotNull String key, @NotNull Class<ST> type) Should return secret value for given key or null if the secret does not exist. -
Uses of EncryptionException in com.evolveum.midpoint.init
Methods in com.evolveum.midpoint.init that throw EncryptionExceptionModifier and TypeMethodDescription<T> voidConfigurableProtector.decrypt(ProtectedData<T> protectedData) protected <T> byte[]ConfigurableProtector.decryptBytes(ProtectedData<T> protectedData) ConfigurableProtector.decryptString(ProtectedData<String> protectedString) <T> voidConfigurableProtector.encrypt(ProtectedData<T> protectedData) @NotNull ByteBufferConfigurableProtector.resolveSecretBinary(@NotNull String provider, @NotNull String key) @NotNull StringConfigurableProtector.resolveSecretString(@NotNull String provider, @NotNull String key) -
Uses of EncryptionException in com.evolveum.midpoint.model.api.expr
Methods in com.evolveum.midpoint.model.api.expr that throw EncryptionExceptionModifier and TypeMethodDescriptionMidpointFunctions.getPlaintext(ProtectedStringType user) MidpointFunctions.getPlaintextAccountPassword(ShadowType account) MidpointFunctions.getPlaintextAccountPasswordFromDelta(ObjectDelta<? extends ShadowType> delta) MidpointFunctions.getPlaintextUserPassword(FocusType user) MidpointFunctions.getPlaintextUserPasswordFromDeltas(List<ObjectDelta<? extends FocusType>> deltas) -
Uses of EncryptionException in com.evolveum.midpoint.model.common.expression.functions
Methods in com.evolveum.midpoint.model.common.expression.functions that throw EncryptionExceptionModifier and TypeMethodDescriptionBasicExpressionFunctions.hashLdapPassword(ProtectedStringType protectedString, String alg) Hashes cleartext password in an (unofficial) LDAP password format. -
Uses of EncryptionException in com.evolveum.midpoint.model.impl.expr
Methods in com.evolveum.midpoint.model.impl.expr that throw EncryptionExceptionModifier and TypeMethodDescriptionMidpointFunctionsImpl.getPlaintext(ProtectedStringType protectedStringType) MidpointFunctionsImpl.getPlaintextAccountPassword(ShadowType account) MidpointFunctionsImpl.getPlaintextAccountPasswordFromDelta(ObjectDelta<? extends ShadowType> delta) MidpointFunctionsImpl.getPlaintextUserPassword(FocusType user) MidpointFunctionsImpl.getPlaintextUserPasswordFromDeltas(List<ObjectDelta<? extends FocusType>> objectDeltas) -
Uses of EncryptionException in com.evolveum.midpoint.prism.crypto
Methods in com.evolveum.midpoint.prism.crypto that throw EncryptionExceptionModifier and TypeMethodDescriptionbooleanProtector.areEquivalent(ProtectedStringType a, ProtectedStringType b) Decides equivalence of two protected data objects (for data management purposes).booleanProtector.compareCleartext(ProtectedStringType a, ProtectedStringType b) Compare cleartext values protected inside the protected strings.<T> voidProtector.decrypt(ProtectedData<T> protectedData) Protector.decryptString(ProtectedData<String> protectedString) <T> voidProtector.encrypt(ProtectedData<T> protectedData) Protector.encryptString(String text) default ByteBufferSecretsProvider.getSecretBinary(@NotNull String key) Returns secretByteBufferfor given key.KeyStoreBasedProtector.getSecretKeyDigest(SecretKey key) SecretsProvider.getSecretString(@NotNull String key) Returns secretStringfor given key.<T> voidProtector.hash(ProtectedData<T> protectedData) booleanProtector.isEncryptedByCurrentKey(@NotNull EncryptedDataType data) @NotNull ByteBufferSecretsResolver.resolveSecretBinary(@NotNull String provider, @NotNull String key) @NotNull StringSecretsResolver.resolveSecretString(@NotNull String provider, @NotNull String key) -
Uses of EncryptionException in com.evolveum.midpoint.prism.impl.crypto
Methods in com.evolveum.midpoint.prism.impl.crypto that throw EncryptionExceptionModifier and TypeMethodDescriptionbooleanKeyStoreBasedProtectorImpl.compareCleartext(ProtectedStringType a, ProtectedStringType b) <T> voidBaseProtector.decrypt(ProtectedData<T> protectedData) protected abstract <T> byte[]BaseProtector.decryptBytes(ProtectedData<T> protectedData) protected <T> byte[]KeyStoreBasedProtectorImpl.decryptBytes(ProtectedData<T> protectedData) BaseProtector.decryptString(ProtectedData<String> protectedString) <T> voidKeyStoreBasedProtectorImpl.encrypt(ProtectedData<T> protectedData) BaseProtector.encryptString(String text) KeyStoreBasedProtectorImpl.getSecretKeyDigest(SecretKey key) Deprecated.<T> voidKeyStoreBasedProtectorImpl.hash(ProtectedData<T> protectedData) booleanKeyStoreBasedProtectorImpl.isEncryptedByCurrentKey(@NotNull EncryptedDataType data) -
Uses of EncryptionException in com.evolveum.midpoint.provisioning.api
Methods in com.evolveum.midpoint.provisioning.api that throw EncryptionExceptionModifier and TypeMethodDescription<O extends ObjectType,T>
ItemComparisonResultProvisioningService.compare(Class<O> type, String oid, ItemPath path, T expectedValue, Task task, OperationResult result) Compare value on the resource with the provided value.voidProvisioningService.refreshShadow(@NotNull PrismObject<ShadowType> shadow, ProvisioningOperationOptions options, ProvisioningOperationContext context, @NotNull Task task, @NotNull OperationResult parentResult) Makes sure that the shadow is in accord with the reality.default voidProvisioningService.refreshShadow(PrismObject<ShadowType> shadow, ProvisioningOperationOptions options, Task task, OperationResult parentResult) This is method doesn't takeProvisioningOperationContextas a parameter to simplify backward compatibility for now. -
Uses of EncryptionException in com.evolveum.midpoint.repo.common.security
Methods in com.evolveum.midpoint.repo.common.security that throw EncryptionExceptionModifier and TypeMethodDescription@Nullable PropertyDelta<ProtectedStringType>CredentialsStorageManager.createShadowPasswordDelta(@Nullable CredentialsPolicyType credentialsPolicy, @Nullable ProtectedStringType oldValue, @NotNull ProtectedStringType newValue) Prepares the shadow password property for storage (into an existing shadow): returns a delta that does so.<O extends ObjectType>
ObjectDelta<O>CredentialsStorageManager.transformFocusExecutionDelta(@Nullable CredentialsPolicyType credentialsPolicy, @NotNull ObjectDelta<O> delta) CredentialsStorageManager.transformShadowPasswordDelta(@Nullable CredentialsPolicyType credentialsPolicy, boolean legacyCaching, PropertyDelta<ProtectedStringType> delta) We assume that only cleartext or encrypted values come in the delta.voidCredentialsStorageManager.transformShadowPasswordWithRealValue(@Nullable CredentialsPolicyType credentialsPolicy, boolean legacyCaching, @NotNull PrismProperty<ProtectedStringType> passwordProperty) Prepares the shadow password property for storage (into a new shadow).@Nullable PropertyDelta<ProtectedStringType>CredentialsStorageManager.updateShadowPasswordIfNeeded(@NotNull ProtectedStringType existingPasswordValue, CredentialsPolicyType credentialsPolicy, boolean legacyCaching) Returns deltas to update shadow password under (possibly) changed policies: - encrypted -> hashed / none - hashed -> none We assume the value is either encrypted or hashed, i.e., it's not in the cleartext nor in the external form.