Searched defs:map (Results 1 - 25 of 515) sorted by relevance

1234567891011>>

/forgerock/openam-v13/openam-rest/src/main/java/org/forgerock/openam/rest/service/
H A DJSONRestStatusService.java41 protected Representation representMap(Map<String, Object> map) { argument
42 return jacksonRepresentationFactory.create(map);
H A DXMLRestStatusService.java31 protected Representation representMap(Map<String, Object> map) { argument
32 return new DomRepresentation(MediaType.APPLICATION_XML, XMLResourceExceptionHandler.asXMLDOM(map));
H A DRestStatusService.java64 protected abstract Representation representMap(Map<String, Object> map); argument
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/service/model/
H A DSCPolicyModelImpl.java45 * @param map of user information
47 public SCPolicyModelImpl(HttpServletRequest req, Map map) { argument
48 super(req, map);
H A DMAPServiceModelImpl.java47 public MAPServiceModelImpl(HttpServletRequest req, Map map) { argument
48 super(req, map);
77 Map map = clientTypesManager.getClients(profileName, styleName);
78 if ((map != null) && !map.isEmpty()) {
85 Set set = map.keySet();
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/idm/
H A DIdServicesDecoratorUtils.java34 * Converts all keys in the given map to lower case.
51 * Determines whether the given map contains binary values or not.
53 * @param map the map to check
54 * @return true if the map is known to contain binary values, otherwise false.
56 private static boolean isBinary(Map map) { argument
57 if (map instanceof AMHashMap) {
58 return ((AMHashMap) map).isByteValues();
59 } else if (map != null && !map
[all...]
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/common/
H A DPeriodicCleanUpMap.java36 * will be grouped by using the time they enter the map. PeriodicCleanUpMap can
38 * The map will remove the elements which are timeout.
59 * @param map The synchronized map to use
62 public PeriodicCleanUpMap(long runPeriod, long timeoutPeriod, Map map) argument
64 super(null, runPeriod, timeoutPeriod, true, map);
68 * Remove the timed out elements in the map and swap the containers.
72 synchronized (map) {
74 map.keySet().removeAll(thisTurn);
/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/roles/
H A DdefaultMapping.js35 // The result map
36 var map = { "result" : true },
44 // A map of operation aliases to their corresponding script configurations
210 // Only map if no linkQualifiers were specified or the current linkQualifier is in the list of linkQualifiers specified in the assignment
257 // Return the resulting map
258 map;
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/rest/service/
H A DJSONRestStatusService.java55 protected Representation representMap(Map<String, Object> map) { argument
56 return jacksonRepresentationFactory.create(map);
H A DXMLRestStatusService.java31 protected Representation representMap(Map<String, Object> map) { argument
32 return new DomRepresentation(MediaType.APPLICATION_XML, XMLResourceExceptionHandler.asXMLDOM(map));
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/common/
H A DPeriodicCleanUpMap.java36 * will be grouped by using the time they enter the map. PeriodicCleanUpMap can
38 * The map will remove the elements which are timeout.
59 * @param map The synchronized map to use
62 public PeriodicCleanUpMap(long runPeriod, long timeoutPeriod, Map map) argument
64 super(null, runPeriod, timeoutPeriod, true, map);
68 * Remove the timed out elements in the map and swap the containers.
72 synchronized (map) {
74 map.keySet().removeAll(thisTurn);
/forgerock/openam/openam-console/src/main/java/com/sun/identity/console/service/model/
H A DSCPolicyModelImpl.java45 * @param map of user information
47 public SCPolicyModelImpl(HttpServletRequest req, Map map) { argument
48 super(req, map);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/idm/
H A DIdServicesDecoratorUtils.java34 * Converts all keys in the given map to lower case.
51 * Determines whether the given map contains binary values or not.
53 * @param map the map to check
54 * @return true if the map is known to contain binary values, otherwise false.
56 private static boolean isBinary(Map map) { argument
57 if (map instanceof AMHashMap) {
58 return ((AMHashMap) map).isByteValues();
59 } else if (map != null && !map
[all...]
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/sts/model/
H A DRestSTSInstanceModel.java39 public RestSTSInstanceModel(HttpServletRequest req, Map map) throws AMConsoleException { argument
40 super(req, AMAdminConstants.REST_STS_SERVICE, map);
H A DSTSHomeViewBeanModelImpl.java46 public STSHomeViewBeanModelImpl(HttpServletRequest req, Map map) throws AMConsoleException { argument
47 super(req, map);
48 restSTSInstanceModel = new RestSTSInstanceModel(req, map);
49 soapSTSInstanceModel = new SoapSTSInstanceModel(req, map);
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/task/model/
H A DOAuth2ModelImpl.java38 public OAuth2ModelImpl(final HttpServletRequest req, final Map map) { argument
39 super(req, map);
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/user/model/
H A DUMUserResourceOfferingModelImpl.java49 public UMUserResourceOfferingModelImpl(HttpServletRequest req, Map map) { argument
50 super(req, map);
124 Map map = new HashMap(2);
125 map.put(AMAdminConstants.ATTR_USER_RESOURCE_OFFERING,
127 amid.setAttributes(map);
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml/servlet/
H A DPOSTCleanUpRunnable.java42 * assertionIDs from the map.
54 * @param map the <code>Map</code> to be cleaned up.
56 public POSTCleanUpRunnable(long runPeriod, Map map) { argument
58 this.idTimeMap = map;
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/test/
H A DCollectionUtils.java46 * string into a map. In this project, we usually have the
48 * want to add a string to the map.
50 * @param key Key to the entry in the map.
51 * @param map Map of String to Set of String.
52 * @param value Value to be added to the map referenced by <code>key</code>.
57 Map<String, Set<String>> map,
62 map.put(key, set);
67 * Returns a map of String to Set of String from a formatted string.
76 * @return a map of String to Set of String
79 Map<String, Set<String>> map
55 putSetIntoMap( String key, Map<String, Set<String>> map, String value ) argument
[all...]
/forgerock/openam-v13/openam-shared/src/main/java/org/forgerock/openam/utils/
H A DSingleValueMapper.java27 * mapped to a given value. If the caller changes which key should map to the value,
38 private final ConcurrentHashMap<K, V> map = new ConcurrentHashMap<K, V>(); field in class:SingleValueMapper
49 return map.get(k);
70 * @param k The key to map against the value. May not be null.
71 * @param v The value to map against the key. May not be null.
78 map.remove(previousValue);
81 map.put(k, v);
86 * Removes the named key from the map.
95 V remove = map.remove(k);
/forgerock/openam-v13/openam-shared/src/test/java/org/forgerock/openam/utils/
H A DSingleValueMapperTest.java24 private SingleValueMapper<String, Integer> map; field in class:SingleValueMapperTest
27 map = new SingleValueMapper<String, Integer>();
34 map.put(key, value);
35 assertThat(map.get(key)).isEqualTo(value);
42 map.put(key, value);
43 assertThat(map.getValue(1)).isEqualTo(key);
51 map.put(firstKey, value);
52 map.put(secondKey, value);
53 assertThat(map.get(firstKey)).isNull();
59 map
[all...]
/forgerock/openam-v13/openam-tokens/src/main/java/org/forgerock/openam/tokens/
H A DMapToJsonBytesConverter.java52 public byte[] convertFrom(Map<String, ?> map) { argument
54 return mapper.writeValueAsBytes(map);
H A DMapToJsonStringConverter.java52 public String convertFrom(Map<String, ?> map) { argument
54 return mapper.writeValueAsString(map);
/forgerock/authenticator-android-v2/app/src/main/java/com/forgerock/authenticator/mechanisms/
H A DCoreMechanismFactory.java67 * Uses the map to create the Mechanism associated with the type and version provided.
71 * @param map The set of properties.
75 public Mechanism.PartialMechanismBuilder restoreFromParameters(String type, int version, Map<String, String> map) throws MechanismCreationException { argument
79 return factories.get(type).restoreFromParameters(version, map);
/forgerock/authenticator-android-v2/app/src/main/java/com/forgerock/authenticator/mechanisms/oath/
H A DOathFactory.java45 int version, String mechanismUID, Map<String, String> map) throws MechanismCreationException {
48 .setAlgorithm(get(map, OathAuthMapper.ALGORITHM, "sha1"))
49 .setType(map.get(OathAuthMapper.TYPE))
50 .setCounter(get(map, OathAuthMapper.COUNTER, "0"))
51 .setDigits(get(map, OathAuthMapper.DIGITS, "6"))
52 .setPeriod(get(map, OathAuthMapper.PERIOD, "30"))
53 .setSecret(get(map, OathAuthMapper.SECRET, ""));
66 public Mechanism.PartialMechanismBuilder restoreFromParameters(int version, Map<String, String> map) throws MechanismCreationException { argument
69 .setOptions(map);
44 createFromUriParameters( int version, String mechanismUID, Map<String, String> map) argument

Completed in 51 milliseconds

1234567891011>>