Searched refs:attributeMap (Results 1 - 25 of 108) sorted by relevance

12345

/forgerock/openidm-v4/openidm-zip/src/main/resources/samples/audit-sample/tools/
H A DCreateScript.groovy59 Map<String, Attribute> attributeMap = new HashMap<String, Attribute>();
61 attributeMap.put(attribute.getName(), attribute);
75 attributeMap.get("activitydate")?.getValue()?.get(0),
76 attributeMap.get("eventname")?.getValue()?.get(0),
77 attributeMap.get("transactionid")?.getValue()?.get(0),
78 attributeMap.get("userid")?.getValue()?.get(0),
79 attributeMap.get("trackingids")?.getValue()?.get(0) != null
80 ? json(attributeMap.get("trackingids")?.getValue()?.get(0)).toString()
82 attributeMap.get("server")?.getValue()?.get(0)?.get("ip"),
83 attributeMap
[all...]
/forgerock/openam-v13/openam-sts/openam-token-service-sts/src/test/java/org/forgerock/openam/sts/tokengeneration/saml2/xmlsig/
H A DSAML2CryptoProviderImplTest.java38 Map<String, String> attributeMap = new HashMap<>();
39 attributeMap.put("email", "mail");
42 .attributeMap(attributeMap)
/forgerock/openam/openam-sts/openam-token-service-sts/src/test/java/org/forgerock/openam/sts/tokengeneration/saml2/xmlsig/
H A DSAML2CryptoProviderImplTest.java38 Map<String, String> attributeMap = new HashMap<>();
39 attributeMap.put("email", "mail");
42 .attributeMap(attributeMap)
/forgerock/openam-v13/openam-sts/openam-token-service-sts/src/main/java/org/forgerock/openam/sts/tokengeneration/saml2/statements/
H A DDefaultAttributeMapper.java37 * the attributeMap and information about dynamic or ignored profiles from IDP/SP identifiers. These values undergo non-null
47 private final Map<String, String> attributeMap; field in class:DefaultAttributeMapper
49 public DefaultAttributeMapper(Map<String, String> attributeMap) { argument
50 this.attributeMap = Collections.unmodifiableMap(attributeMap);
56 * @param attributeMap The mapping of saml attributes (keys) to the local AM LDAP attributes (values) Note that in
57 * this implementation, the attributeMap is ignored, as it is provided to the ctor as it needs
60 * the attributeMap is a fundamental constituent.
64 public List<Attribute> getAttributes(SSOToken token, Map<String, String> attributeMap) throws TokenCreationException { argument
93 * id and realm. These parameters will be ignored, as the attributeMap passe
[all...]
H A DAttributeMapper.java29 * and the attributeMap specification will be pulled from the SAML2Config associated with the STS instance currently
36 * @param attributeMap Contains the mapping of saml attribute names (Map keys) to local OpenAM attributes (Map values) in
47 List<Attribute> getAttributes(SSOToken token, Map<String, String> attributeMap) throws TokenCreationException; argument
/forgerock/openam/openam-sts/openam-token-service-sts/src/main/java/org/forgerock/openam/sts/tokengeneration/saml2/statements/
H A DDefaultAttributeMapper.java37 * the attributeMap and information about dynamic or ignored profiles from IDP/SP identifiers. These values undergo non-null
47 private final Map<String, String> attributeMap; field in class:DefaultAttributeMapper
49 public DefaultAttributeMapper(Map<String, String> attributeMap) { argument
50 this.attributeMap = Collections.unmodifiableMap(attributeMap);
56 * @param attributeMap The mapping of saml attributes (keys) to the local AM LDAP attributes (values) Note that in
57 * this implementation, the attributeMap is ignored, as it is provided to the ctor as it needs
60 * the attributeMap is a fundamental constituent.
64 public List<Attribute> getAttributes(SSOToken token, Map<String, String> attributeMap) throws TokenCreationException { argument
95 * id and realm. These parameters will be ignored, as the attributeMap passe
[all...]
H A DAttributeMapper.java29 * and the attributeMap specification will be pulled from the SAML2Config associated with the STS instance currently
39 * @param attributeMap Contains the mapping of saml attribute names (Map keys) to local OpenAM attributes (Map values) in
50 List<Attribute> getAttributes(SSOToken token, Map<String, String> attributeMap) throws TokenCreationException; argument
/forgerock/openam-v13/openam-sts/openam-token-service-sts/src/test/java/org/forgerock/openam/sts/tokengeneration/saml2/statements/
H A DDefaultAttributeStatementsProviderTest.java45 private Map<String, String> attributeMap; field in class:DefaultAttributeStatementsProviderTest
50 attributeMap = new HashMap<>();
51 attributeMap.put(ATTRIBUTE_NAME, "mail");
62 when(mockAttributeMapper.getAttributes(mockToken, attributeMap)).thenReturn(attributeList);
77 Map<String, String> attributeMap = new HashMap<>();
78 attributeMap.put("email", "mail");
80 .attributeMap(attributeMap)
H A DDefaultAuthenticationStatementsProviderTest.java44 Map<String, String> attributeMap = new HashMap<>();
45 attributeMap.put("email", "mail");
48 .attributeMap(attributeMap)
H A DDefaultConditionsProviderTest.java62 Map<String, String> attributeMap = new HashMap<>();
63 attributeMap.put("email", "mail");
65 .attributeMap(attributeMap)
/forgerock/openam/openam-sts/openam-token-service-sts/src/test/java/org/forgerock/openam/sts/tokengeneration/saml2/statements/
H A DDefaultAttributeStatementsProviderTest.java45 private Map<String, String> attributeMap; field in class:DefaultAttributeStatementsProviderTest
50 attributeMap = new HashMap<>();
51 attributeMap.put(ATTRIBUTE_NAME, "mail");
62 when(mockAttributeMapper.getAttributes(mockToken, attributeMap)).thenReturn(attributeList);
77 Map<String, String> attributeMap = new HashMap<>();
78 attributeMap.put("email", "mail");
80 .attributeMap(attributeMap)
H A DDefaultAuthenticationStatementsProviderTest.java44 Map<String, String> attributeMap = new HashMap<>();
45 attributeMap.put("email", "mail");
48 .attributeMap(attributeMap)
H A DDefaultConditionsProviderTest.java63 Map<String, String> attributeMap = new HashMap<>();
64 attributeMap.put("email", "mail");
66 .attributeMap(attributeMap)
/forgerock/openam-v13/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/
H A DRadiusRequest.java46 private Map<Class, Attribute> attributeMap = new HashMap<Class, Attribute>(); field in class:RadiusRequest
107 return attributeMap.get(attributeType);
121 attributeMap.put(att.getClass(), att);
132 UserNameAttribute userNameAttribute = (UserNameAttribute) attributeMap.get(UserNameAttribute.class);
/forgerock/openam/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/
H A DRadiusRequest.java46 private Map<Class, Attribute> attributeMap = new HashMap<Class, Attribute>(); field in class:RadiusRequest
107 return attributeMap.get(attributeType);
121 attributeMap.put(att.getClass(), att);
132 UserNameAttribute userNameAttribute = (UserNameAttribute) attributeMap.get(UserNameAttribute.class);
/forgerock/openam-v13/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/
H A DMapMarshallUtils.java72 * @param attributeMap The map of STS instance attributes obtained from the SMS
75 public static Map<String, Object> toJsonValueMap(Map<String, Set<String>> attributeMap) { argument
76 Map<String, Object> jsonValueMap = new HashMap<String, Object>(attributeMap.size());
77 for (Map.Entry<String, Set<String>> entry : attributeMap.entrySet()) {
/forgerock/jee-agents-v3.5/jee-agents-sdk/src/main/java/com/sun/identity/agents/filter/
H A DAttributeTaskHandler.java140 AmFilterRequestContext ctx, Map attributeMap)
144 if (attributeMap != null && attributeMap.size() > 0) {
145 Iterator it = attributeMap.keySet().iterator();
148 Set nextValueSet = (Set) attributeMap.get(nextName);
197 Map attributeMap)
200 if (attributeMap != null && attributeMap.size() > 0) {
201 Iterator it = attributeMap.keySet().iterator();
208 nextValue = (Set) attributeMap
139 addAttributesAsCookies( AmFilterRequestContext ctx, Map attributeMap) argument
196 addAttributesToRequest(HttpServletRequest request, Map attributeMap) argument
241 getHttpServletRequestHelper( Map attributeMap) argument
[all...]
/forgerock/openam/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/
H A DMapMarshallUtils.java72 * @param attributeMap The map of STS instance attributes obtained from the SMS
75 public static Map<String, Object> toJsonValueMap(Map<String, Set<String>> attributeMap) { argument
76 Map<String, Object> jsonValueMap = new HashMap<String, Object>(attributeMap.size());
77 for (Map.Entry<String, Set<String>> entry : attributeMap.entrySet()) {
/forgerock/openam-v13/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/soap/config/user/
H A DSoapDelegationConfig.java222 public static SoapDelegationConfig marshalFromAttributeMap(Map<String, Set<String>> attributeMap) { argument
224 if (CollectionUtils.isEmpty(attributeMap.get(DELEGATION_TOKEN_VALIDATORS)) && CollectionUtils.isEmpty(attributeMap.get(CUSTOM_DELEGATION_TOKEN_HANDLERS))) {
227 Map<String, Object> jsonAttributes = MapMarshallUtils.toJsonValueMap(attributeMap);
234 if (attributeMap.get(DELEGATION_TOKEN_VALIDATORS) != null) {
239 Set<String> stringTokenTranslations = attributeMap.get(DELEGATION_TOKEN_VALIDATORS);
250 if (attributeMap.get(CUSTOM_DELEGATION_TOKEN_HANDLERS) != null) {
255 Set<String> handlerClasses = attributeMap.get(CUSTOM_DELEGATION_TOKEN_HANDLERS);
/forgerock/openam-v13/openam-sts/openam-client-sts/src/test/java/org/forgerock/openam/sts/soap/config/user/
H A DSoapDeploymentConfigTest.java152 Map<String, Set<String>> attributeMap = soapDeploymentConfig(!WITH_TLS_OFFLOAD_CONFIG).marshalToAttributeMap();
153 Set<String> wsdlLocation = attributeMap.get(SoapDeploymentConfig.WSDL_LOCATION);
156 attributeMap.put(SoapDeploymentConfig.SERVICE_QNAME, CollectionUtils.asSet((String) null));
157 attributeMap.put(SoapDeploymentConfig.PORT_QNAME, CollectionUtils.asSet((String)null));
158 attributeMap.put(SoapDeploymentConfig.CUSTOM_WSDL_LOCATION, CollectionUtils.asSet(CUSTOM_WSDL));
159 attributeMap.put(SoapDeploymentConfig.CUSTOM_SERVICE_QNAME, CollectionUtils.asSet(CUSTOM_SERVICE.toString()));
160 attributeMap.put(SoapDeploymentConfig.CUSTOM_PORT_QNAME, CollectionUtils.asSet(CUSTOM_PORT.toString()));
161 return attributeMap;
/forgerock/openam/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/soap/config/user/
H A DSoapDelegationConfig.java224 public static SoapDelegationConfig marshalFromAttributeMap(Map<String, Set<String>> attributeMap) { argument
226 if (CollectionUtils.isEmpty(attributeMap.get(DELEGATION_TOKEN_VALIDATORS)) && CollectionUtils.isEmpty(attributeMap.get(CUSTOM_DELEGATION_TOKEN_HANDLERS))) {
229 Map<String, Object> jsonAttributes = MapMarshallUtils.toJsonValueMap(attributeMap);
236 if (attributeMap.get(DELEGATION_TOKEN_VALIDATORS) != null) {
241 Set<String> stringTokenTranslations = attributeMap.get(DELEGATION_TOKEN_VALIDATORS);
252 if (attributeMap.get(CUSTOM_DELEGATION_TOKEN_HANDLERS) != null) {
257 Set<String> handlerClasses = attributeMap.get(CUSTOM_DELEGATION_TOKEN_HANDLERS);
/forgerock/openam/openam-sts/openam-client-sts/src/test/java/org/forgerock/openam/sts/soap/config/user/
H A DSoapDeploymentConfigTest.java152 Map<String, Set<String>> attributeMap = soapDeploymentConfig(!WITH_TLS_OFFLOAD_CONFIG).marshalToAttributeMap();
153 Set<String> wsdlLocation = attributeMap.get(SoapDeploymentConfig.WSDL_LOCATION);
156 attributeMap.put(SoapDeploymentConfig.SERVICE_QNAME, CollectionUtils.asSet((String) null));
157 attributeMap.put(SoapDeploymentConfig.PORT_QNAME, CollectionUtils.asSet((String)null));
158 attributeMap.put(SoapDeploymentConfig.CUSTOM_WSDL_LOCATION, CollectionUtils.asSet(CUSTOM_WSDL));
159 attributeMap.put(SoapDeploymentConfig.CUSTOM_SERVICE_QNAME, CollectionUtils.asSet(CUSTOM_SERVICE.toString()));
160 attributeMap.put(SoapDeploymentConfig.CUSTOM_PORT_QNAME, CollectionUtils.asSet(CUSTOM_PORT.toString()));
161 return attributeMap;
/forgerock/openam-v13/openam-sts/openam-soap-sts/openam-soap-sts-server/src/test/java/org/forgerock/openam/sts/soap/token/delegation/
H A DTokenDelegationHandlersProviderTest.java98 Map<String,String> attributeMap = new HashMap<>();
99 attributeMap.put("mail", "email");
100 attributeMap.put("uid", "id");
115 .attributeMap(attributeMap)
/forgerock/openam/openam-sts/openam-soap-sts/openam-soap-sts-server/src/test/java/org/forgerock/openam/sts/soap/token/delegation/
H A DTokenDelegationHandlersProviderTest.java98 Map<String,String> attributeMap = new HashMap<>();
99 attributeMap.put("mail", "email");
100 attributeMap.put("uid", "id");
115 .attributeMap(attributeMap)
/forgerock/openam-v13/openam-sts/openam-client-sts/src/test/java/org/forgerock/openam/sts/rest/config/user/
H A DRestSTSInstanceConfigTest.java189 Map<String, Set<String>> attributeMap = config.marshalToAttributeMap();
190 JsonValue jsonMap = new JsonValue(attributeMap);
195 attributeMap = config.marshalToAttributeMap();
196 jsonMap = new JsonValue(attributeMap);
201 attributeMap = config.marshalToAttributeMap();
202 jsonMap = new JsonValue(attributeMap);
207 attributeMap = config.marshalToAttributeMap();
208 jsonMap = new JsonValue(attributeMap);
216 Map<String, Set<String>> attributeMap = config.marshalToAttributeMap();
217 JsonValue jsonMap = new JsonValue(attributeMap);
[all...]

Completed in 95 milliseconds

12345