/forgerock/openidm-v4/openidm-provisioner-openicf/src/main/java/org/forgerock/openidm/provisioner/openicf/impl/ |
H A D | OperationHelperBuilder.java | 57 APIConfiguration defaultAPIConfiguration, CryptoService cryptoService) throws JsonValueException { 59 ConnectorUtil.configureDefaultAPIConfiguration(jsonConfiguration, defaultAPIConfiguration, cryptoService); 65 public OperationHelper build(String objectType, JsonValue object, CryptoService cryptoService) throws ResourceException { argument 77 return new OperationHelperImpl(new Id(systemName, objectType), objectClassInfoHelper, operationOptionHelpers.get(objectType), cryptoService); 56 OperationHelperBuilder(String system, JsonValue jsonConfiguration, APIConfiguration defaultAPIConfiguration, CryptoService cryptoService) argument
|
H A D | OperationHelperImpl.java | 58 private final CryptoService cryptoService; field in class:OperationHelperImpl 64 * @param cryptoService 69 CryptoService cryptoService) { 73 this.cryptoService = cryptoService; 112 return objectClassInfoHelper.build(operation, null, source, cryptoService); 118 return objectClassInfoHelper.build(operation, id, source, cryptoService); 124 JsonValue result = objectClassInfoHelper.build(source, cryptoService).getContent(); 188 return resultList.add(objectClassInfoHelper.build(obj, cryptoService).asMap()); 244 return OperatorFactory.createFunctionalOperator(operatorName, objectClassInfoHelper.build(field, values, cryptoService)); 67 OperationHelperImpl(Id systemObjectSetId, ObjectClassInfoHelper objectClassInfoHelper, Map<Class<? extends APIOperation>, OperationOptionInfoHelper> connectorObjectOptions, CryptoService cryptoService) argument [all...] |
H A D | ConnectorInfoProviderService.java | 166 protected CryptoService cryptoService = null; field in class:ConnectorInfoProviderService 354 .createDefaultAPIConfiguration(), params.copy(), cryptoService); 378 ConnectorUtil.configureDefaultAPIConfiguration(params, configuration, cryptoService); 407 ConnectorUtil.configureDefaultAPIConfiguration(params, configuration, cryptoService); 627 jsonConfiguration, cryptoService);
|
H A D | OpenICFProvisionerService.java | 298 protected CryptoService cryptoService = null; field in class:OpenICFProvisionerService 344 config, cryptoService); 374 ConnectorUtil.configureDefaultAPIConfiguration(jsonConfiguration, config, cryptoService); 1225 objectClassInfoHelper.getCreateAttributes(request, cryptoService); 1320 Attribute attribute = objectClassInfoHelper.getPatchAttribute(operation, beforeValue, cryptoService); 1461 ResourceResponse resource = objectClassInfoHelper.build(obj, cryptoService); 1516 ResourceResponse resource = objectClassInfoHelper.build(connectorObject, cryptoService); 1562 objectClassInfoHelper.getUpdateAttributes(request, newName, cryptoService); 1645 return objectClassInfoHelper.build(co, cryptoService); 2043 connectorInfo.createDefaultAPIConfiguration(), cryptoService); [all...] |
/forgerock/openidm-v4/openidm-workflow-activiti/src/main/java/org/forgerock/openidm/workflow/activiti/impl/ |
H A D | JsonUser.java | 30 private CryptoService cryptoService; field in class:JsonUser 40 this.cryptoService = service; 44 public void setCryptoService(CryptoService cryptoService) { argument 45 this.cryptoService = cryptoService; 96 JsonValue decryptedPassword = cryptoService.decrypt(password);
|
H A D | ActivitiServiceImpl.java | 178 CryptoService cryptoService; field in class:ActivitiServiceImpl 495 cryptoService = service; 500 cryptoService = null;
|
H A D | SharedIdentityService.java | 85 private CryptoService cryptoService; field in class:SharedIdentityService 92 this.cryptoService = service; 119 return new JsonUser(cryptoService, userId); 257 existingUser.setCryptoService(cryptoService);
|
/forgerock/openidm-v4/openidm-authnfilter/src/main/java/org/forgerock/openidm/auth/ |
H A D | ResourceQueryAuthenticator.java | 58 * @param cryptoService The CryptoService. 66 public ResourceQueryAuthenticator(Provider<CryptoService> cryptoService, Provider<ConnectionFactory> connectionFactory, argument 69 Reject.ifNull(cryptoService, "CryptoService is null"); 76 this.cryptoServiceProvider = cryptoService; 98 final CryptoService cryptoService = cryptoServiceProvider.get(); 99 if (cryptoService == null) { 105 if (cryptoService.isHashed(resource.getContent().get(userCredentialProperty))) { 107 if (cryptoService.matches(password, resource.getContent().get(userCredentialProperty))) { 163 final CryptoService cryptoService = cryptoServiceProvider.get(); 164 if (cryptoService [all...] |
H A D | AuthenticationService.java | 150 CryptoService cryptoService; field in class:AuthenticationService 182 return cryptoService; 349 return configureModule(new IDMAuthModuleWrapper(module, connectionFactory, cryptoService, scriptRegistry))
|
/forgerock/openidm-v4/openidm-core/src/main/java/org/forgerock/openidm/managed/ |
H A D | ManagedObjectSchema.java | 66 public ManagedObjectSchema(JsonValue schema, ScriptRegistry scriptRegistry, CryptoService cryptoService) argument 75 scriptRegistry, cryptoService);
|
H A D | ManagedObjectService.java | 97 protected CryptoService cryptoService; field in class:ManagedObjectService 219 final ManagedObjectSet objectSet = new ManagedObjectSet(scriptRegistry, cryptoService, syncRoute, connectionFactory, managedObjectConfig); 241 ManagedObjectSet objectSet = new ManagedObjectSet(scriptRegistry, cryptoService, syncRoute, connectionFactory, value);
|
H A D | SchemaField.java | 101 private CryptoService cryptoService; field in class:SchemaField 128 final CryptoService cryptoService) throws JsonValueException, ScriptException { 130 this.cryptoService = cryptoService; 212 encryptor = cryptoService.getEncryptor( 415 if (encryptor != null && !cryptoService.isEncrypted(propValue)) { 419 } else if (hashingValue.isNotNull() && !cryptoService.isHashed(propValue)) { 421 value.put(name, cryptoService.hash(propValue, hashingValue.get("algorithm").asString())); 127 SchemaField(final String name, final JsonValue schema, final ScriptRegistry scriptRegistry, final CryptoService cryptoService) argument
|
H A D | ManagedObjectSet.java | 152 private final CryptoService cryptoService; field in class:ManagedObjectSet 186 * @param cryptoService 200 public ManagedObjectSet(final ScriptRegistry scriptRegistry, final CryptoService cryptoService, argument 203 this.cryptoService = cryptoService; 213 this.schema = new ManagedObjectSchema(config.get("schema").expect(Map.class), scriptRegistry, cryptoService); 398 return cryptoService.decrypt(value); // makes a copy, which we can modify 417 null != value.getContent() ? cryptoService.decrypt(value.getContent()) : null); 897 // JsonValue oldValue = new JsonValue(cryptoService.getRouter().read(repoId(id)));
|
/forgerock/openidm-v4/openidm-selfservice/src/main/java/org/forgerock/openidm/selfservice/impl/ |
H A D | SelfService.java | 120 private CryptoService cryptoService; field in class:SelfService
|
/forgerock/openidm-v4/openidm-provisioner-openicf/src/main/java/org/forgerock/openidm/provisioner/openicf/commons/ |
H A D | AttributeInfoHelper.java | 219 public Attribute build(Object source, final CryptoService cryptoService) argument 222 if (null != cryptoService 227 null != cryptoService ? cryptoService.getDecryptionTransformers() 285 public Object build(Attribute source, CryptoService cryptoService) throws JsonCryptoException { argument 308 if (null == cryptoService) { 312 return cryptoService.encrypt(new JsonValue(resultValue), cipher, key).getObject();
|
H A D | ObjectClassInfoHelper.java | 204 * @param cryptoService encryption and decryption service 209 final CryptoService cryptoService) throws ResourceException { 230 Attribute a = attributeInfo.build(v.getObject(), cryptoService); 254 * @param cryptoService encryption and decryption service 259 final CryptoService cryptoService) throws ResourceException { 274 Attribute a = attributeInfo.build(v, cryptoService); 302 * @param cryptoService encryption and decryption service 307 final CryptoService cryptoService) throws ResourceException { 346 result = attributeInfo.build(value, cryptoService); 390 * @param cryptoService 208 getCreateAttributes(final CreateRequest request, final CryptoService cryptoService) argument 258 getUpdateAttributes(final UpdateRequest request, final Name newName, final CryptoService cryptoService) argument 306 getPatchAttribute(final PatchOperation patchOperation, final JsonValue before, final CryptoService cryptoService) argument 394 build(Class<? extends APIOperation> operation, String name, JsonValue source, CryptoService cryptoService) argument 461 build(ConnectorObject source, CryptoService cryptoService) argument 485 build(String attributeName, Object source, CryptoService cryptoService) argument [all...] |
H A D | ConnectorUtil.java | 373 public static void setConfigurationProperties(ConfigurationProperties source, Map<String, Object> target, CryptoService cryptoService) throws JsonCryptoException{ argument 376 target.put(propertyName, convertFromConfigurationProperty(configurationProperty, cryptoService)); 380 private static Object convertFromConfigurationProperty(ConfigurationProperty configurationProperty, CryptoService cryptoService) throws JsonCryptoException{ argument 408 newValue = cryptoService.encrypt(json(newValue), 419 result = cryptoService.encrypt(json(coercedTypeCasting(configurationProperty.getValue(), String.class)), 431 CryptoService cryptoService) throws JsonValueException { 462 propertyValue = coercedTypeCasting(cryptoService.decrypt(source.get(e.getKey())), targetType); 474 JsonValue source, APIConfiguration target, CryptoService cryptoService) 489 configureConfigurationProperties(configurationProperties, target.getConfigurationProperties(), cryptoService); 496 APIConfiguration source, JsonValue target, CryptoService cryptoService) 430 configureConfigurationProperties(JsonValue source, ConfigurationProperties target, CryptoService cryptoService) argument 473 configureDefaultAPIConfiguration( JsonValue source, APIConfiguration target, CryptoService cryptoService) argument 495 createSystemConfigurationFromAPIConfiguration( APIConfiguration source, JsonValue target, CryptoService cryptoService) argument [all...] |
/forgerock/openidm-v4/openidm-repo-jdbc/src/main/java/org/forgerock/openidm/repo/jdbc/impl/ |
H A D | JDBCRepoService.java | 129 protected CryptoService cryptoService; field in class:JDBCRepoService 1023 return cryptoService;
|
/forgerock/openidm-v4/openidm-script/src/main/java/org/forgerock/openidm/script/impl/ |
H A D | ScriptRegistryService.java | 350 protected void bindCryptoService(final CryptoService cryptoService) { argument 381 return cryptoService.hash(value, algorithm); 426 return cryptoService.encrypt(value, cipher, alias); 444 return cryptoService 482 return cryptoService.isHashed(arguments[0] instanceof JsonValue 502 return cryptoService.matches(arguments[0].toString(), arguments[1] instanceof JsonValue
|
/forgerock/openidm-v4/openidm-authnfilter/src/main/java/org/forgerock/openidm/auth/modules/ |
H A D | IDMAuthModuleWrapper.java | 98 private final CryptoService cryptoService; field in class:IDMAuthModuleWrapper 121 * @param cryptoService 125 ConnectionFactory connectionFactory, CryptoService cryptoService, ScriptRegistry scriptRegistry) { 128 this.cryptoService = cryptoService; 143 ConnectionFactory connectionFactory, CryptoService cryptoService, ScriptRegistry scriptRegistry, 148 this.cryptoService = cryptoService; 124 IDMAuthModuleWrapper(AsyncServerAuthModule authModule, ConnectionFactory connectionFactory, CryptoService cryptoService, ScriptRegistry scriptRegistry) argument 141 IDMAuthModuleWrapper( AsyncServerAuthModule authModule, ConnectionFactory connectionFactory, CryptoService cryptoService, ScriptRegistry scriptRegistry, RoleCalculatorFactory roleCalculatorFactory, AugmentationScriptExecutor augmentationScriptExecutor) argument
|