Searched defs:uuid (Results 1 - 25 of 88) sorted by relevance

1234

/forgerock/openam-v13/openam-scripting/src/main/java/org/forgerock/openam/scripting/datastore/
H A DScriptingDataStore.java40 * @param uuid The unique identifier for the data.
43 public void delete(String uuid) throws ScriptException; argument
57 public ScriptConfiguration get(String uuid) throws ScriptException; argument
61 * @param uuid The unique identifier for the data.
65 public boolean containsUuid(String uuid) throws ScriptException; argument
/forgerock/openam-v13/openam-scripting/src/main/java/org/forgerock/openam/scripting/service/
H A DScriptingService.java41 * @param uuid The unique identifier for the configuration.
44 public void delete(String uuid) throws ScriptException; argument
65 public ScriptConfiguration get(String uuid) throws ScriptException; argument
H A DScriptConfigurationService.java78 public void delete(String uuid) throws ScriptException { argument
79 failIfUuidDoesNotExist(uuid);
80 dataStore.delete(uuid);
94 public ScriptConfiguration get(String uuid) throws ScriptException { argument
95 failIfUuidDoesNotExist(uuid);
96 return dataStore.get(uuid);
116 private void failIfUuidExists(String uuid) throws ScriptException { argument
117 if (dataStore.containsUuid(uuid)) {
118 throw createAndLogError(logger, SCRIPT_UUID_EXISTS, uuid, realm);
122 private void failIfUuidDoesNotExist(String uuid) throw argument
[all...]
/forgerock/openam-v13/openam-scripting/src/test/java/org/forgerock/openam/scripting/
H A DScriptExceptionTest.java32 final String uuid = "1234567890"; field in class:ScriptExceptionTest
56 se = new ScriptException(FIND_BY_UUID_FAILED, uuid, realm);
58 assertThat(se.getMessage()).isEqualTo(format("Failed to read script with UUID {0} from realm " + "{1}", uuid,
62 se = new ScriptException(DELETE_FAILED, uuid, realm);
65 uuid, realm));
68 se = new ScriptException(RETRIEVE_FAILED, uuid, realm);
71 uuid, realm));
79 se = new ScriptException(SAVE_FAILED, uuid, realm);
81 assertThat(se.getMessage()).isEqualTo(format("Failed to save script with UUID {0} in realm " + "{1}", uuid,
116 se = new ScriptException(SCRIPT_UUID_EXISTS, uuid, real
[all...]
/forgerock/openam-v13/openam-entitlements/src/main/java/com/sun/identity/entitlement/opensso/
H A DOpenSSOUserSubject.java65 * @param user the uuid of the user who is member of the OpenSSOUserSubject
73 * @param user the uuid of the user who is member of the OpenSSOUserSubject
93 String uuid = getID();
95 AMIdentity amid = new AMIdentity(adminToken, uuid);
103 set.add(uuid);
110 protected boolean hasPrincipal(Subject subject, String uuid) { argument
114 if (puuid.equals(uuid)) {
122 AMIdentity amid = new AMIdentity(adminToken, uuid);
/forgerock/openam-v13/openam-federation/OpenFM/src/test/java/com/sun/identity/entitlement/util/
H A DAuthUtils.java76 public static Subject createSubject(String uuid) { argument
78 userPrincipals.add(new AuthSPrincipal(uuid));
/forgerock/openam/openam-scripting/src/main/java/org/forgerock/openam/scripting/service/
H A DScriptingService.java44 * @param uuid The unique identifier for the configuration.
47 void delete(String uuid) throws ScriptException; argument
68 ScriptConfiguration get(String uuid) throws ScriptException; argument
/forgerock/openam/openam-scripting/src/test/java/org/forgerock/openam/scripting/
H A DScriptExceptionTest.java32 final String uuid = "1234567890"; field in class:ScriptExceptionTest
56 se = new ScriptException(FIND_BY_UUID_FAILED, uuid, realm);
58 assertThat(se.getMessage()).isEqualTo(format("Failed to read script with UUID {0} from realm " + "{1}", uuid,
62 se = new ScriptException(DELETE_FAILED, uuid, realm);
65 uuid, realm));
68 se = new ScriptException(RETRIEVE_FAILED, uuid, realm);
71 uuid, realm));
79 se = new ScriptException(SAVE_FAILED, uuid, realm);
81 assertThat(se.getMessage()).isEqualTo(format("Failed to save script with UUID {0} in realm " + "{1}", uuid,
116 se = new ScriptException(SCRIPT_UUID_EXISTS, uuid, real
[all...]
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/
H A DDeviceSettings.java30 protected String uuid; field in class:DeviceSettings
37 uuid = UUID.randomUUID().toString();
43 * @param uuid The UUID.
45 public void setUUID(String uuid) { argument
46 Reject.ifNull(uuid, "UUID can not be null.");
47 this.uuid = uuid;
57 return uuid;
/forgerock/openam/openam-entitlements/src/main/java/com/sun/identity/entitlement/opensso/
H A DOpenSSOUserSubject.java65 * @param user the uuid of the user who is member of the OpenSSOUserSubject
73 * @param user the uuid of the user who is member of the OpenSSOUserSubject
93 String uuid = getID();
95 AMIdentity amid = new AMIdentity(adminToken, uuid);
102 set.add(uuid);
109 protected boolean hasPrincipal(Subject subject, String uuid) { argument
113 if (puuid.equals(uuid)) {
121 AMIdentity amid = new AMIdentity(adminToken, uuid);
/forgerock/openam/openam-federation/OpenFM/src/test/java/com/sun/identity/entitlement/util/
H A DAuthUtils.java76 public static Subject createSubject(String uuid) { argument
78 userPrincipals.add(new AuthSPrincipal(uuid));
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/entitlement/service/
H A DResourceTypeService.java50 * @param uuid The unique identifier for the resource type.
53 public void deleteResourceType(Subject subject, String realm, String uuid) throws EntitlementException; argument
71 * @param uuid The unique identifier for the resource type.
75 public ResourceType getResourceType(Subject subject, String realm, String uuid) throws EntitlementException; argument
/forgerock/openam-v13/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/configuration/
H A DResourceTypeConfiguration.java35 * @param uuid The unique identifier for the resource type.
39 public ResourceType getResourceType(Subject subject, String realm, String uuid) throws EntitlementException; argument
45 * @param uuid The unique identifier for the resource type.
48 public boolean containsUUID(Subject subject, String realm, String uuid) throws EntitlementException; argument
63 * @param uuid The unique identifier for the resource type.
66 public void removeResourceType(Subject subject, String realm, String uuid) throws EntitlementException; argument
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/entitlement/service/
H A DResourceTypeService.java50 * @param uuid The unique identifier for the resource type.
53 public void deleteResourceType(Subject subject, String realm, String uuid) throws EntitlementException; argument
71 * @param uuid The unique identifier for the resource type.
75 public ResourceType getResourceType(Subject subject, String realm, String uuid) throws EntitlementException; argument
/forgerock/openam/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/configuration/
H A DResourceTypeConfiguration.java35 * @param uuid The unique identifier for the resource type.
39 public ResourceType getResourceType(Subject subject, String realm, String uuid) throws EntitlementException; argument
45 * @param uuid The unique identifier for the resource type.
48 public boolean containsUUID(Subject subject, String realm, String uuid) throws EntitlementException; argument
63 * @param uuid The unique identifier for the resource type.
66 public void removeResourceType(Subject subject, String realm, String uuid) throws EntitlementException; argument
/forgerock/openam-v13/openam-authentication/deviceprint/module/src/main/java/org/forgerock/openam/authentication/modules/deviceprint/
H A DUserProfilesDao.java120 * @param uuid The id of the user's profile.
122 public void removeProfile(String uuid) { argument
124 if (profiles.get(i).getUuid().equals(uuid)) {
134 * @throws NotUniqueUserProfileException If two or more user profiles have the same uuid or name.
168 * @throws NotUniqueUserProfileException If two or more user profiles have the same uuid or name.
/forgerock/openam-v13/openam-authentication/deviceprint/module/src/main/java/org/forgerock/openam/authentication/modules/deviceprint/model/
H A DUserProfile.java43 private String uuid; field in class:UserProfile
138 return uuid;
144 * @param uuid The unique id.
146 public void setUuid(String uuid) { argument
147 this.uuid = uuid;
/forgerock/openam-v13/openam-authentication/deviceprint/module/src/test/java/org/forgerock/openam/authentication/modules/deviceprint/
H A DUserProfilesDaoTest.java61 private static final String USER_PROFILE_ONE = "{\"uuid\":\"UUID1\",\"lastSelectedDate\":\"2013-05-15T16:11:00.825+0000\",\"selectionCounter\":1,\"devicePrint\":{\"screenColourDepth\":\"SCREEN_COLOUR_DEPTH\",\"screenHeight\":\"SCREEN_HEIGHT\",\"screenWidth\":\"SCREEN_WIDTH\",\"installedPlugins\":\"INSTALLED_PLUGINS\",\"installedFonts\":\"INSTALLED_FONTS\",\"timezone\":\"TIMEZONE\",\"longitude\":2.0,\"latitude\":3.0,\"userAgent\":\"USER_AGENT\"}}";
62 private static final String USER_PROFILE_TWO = "{\"uuid\":\"UUID2\",\"lastSelectedDate\":\"2013-05-15T16:11:00.825+0000\",\"selectionCounter\":1,\"devicePrint\":{\"screenColourDepth\":\"SCREEN_COLOUR_DEPTH\",\"screenHeight\":\"SCREEN_HEIGHT\",\"screenWidth\":\"SCREEN_WIDTH\",\"installedPlugins\":\"INSTALLED_PLUGINS\",\"installedFonts\":\"INSTALLED_FONTS\",\"timezone\":\"TIMEZONE\",\"longitude\":2.0,\"latitude\":3.0,\"userAgent\":\"USER_AGENT\"}}";
63 private static final String USER_PROFILE_THREE = "{\"uuid\":\"UUID3\",\"lastSelectedDate\":\"2013-05-15T16:11:00.825+0000\",\"selectionCounter\":1,\"devicePrint\":{\"screenColourDepth\":\"SCREEN_COLOUR_DEPTH\",\"screenHeight\":\"SCREEN_HEIGHT\",\"screenWidth\":\"SCREEN_WIDTH\",\"installedPlugins\":\"INSTALLED_PLUGINS\",\"installedFonts\":\"INSTALLED_FONTS\",\"timezone\":\"TIMEZONE\",\"longitude\":2.0,\"latitude\":3.0,\"userAgent\":\"USER_AGENT\"}}";
167 private UserProfile createUserProfile(String uuid, String name) { argument
181 userProfile.setUuid(uuid);
/forgerock/openam-v13/openam-entitlements/src/main/java/com/sun/identity/entitlement/
H A DEntitlementSubjectImpl.java45 private String uuid; field in class:EntitlementSubjectImpl
58 * @param uuid the universal ID of subject.
60 public EntitlementSubjectImpl(String uuid) { argument
61 this.uuid = uuid;
67 * @param uuid is the universal ID of subject.
71 public EntitlementSubjectImpl(String uuid, String pSubjectName) { argument
72 this.uuid = uuid;
83 uuid
138 setID(String uuid) argument
226 hasPrincipal(Subject subject, String uuid) argument
[all...]
/forgerock/openam-v13/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/service/
H A DResourceTypeServiceImpl.java97 public void deleteResourceType(Subject subject, String realm, String uuid) throws EntitlementException { argument
99 if (!configuration.containsUUID(subject, realm, uuid)) {
100 throw new EntitlementException(NO_SUCH_RESOURCE_TYPE, uuid, realm);
103 configuration.removeResourceType(subject, realm, uuid);
110 public ResourceType getResourceType(Subject subject, String realm, String uuid) throws EntitlementException { argument
111 return configuration.getResourceType(subject, realm, uuid);
121 final String uuid = resourceType.getUUID();
124 if (!configuration.containsUUID(subject, realm, uuid)) {
125 throw new EntitlementException(NO_SUCH_RESOURCE_TYPE, uuid, realm);
131 if (!uuid
[all...]
/forgerock/openam-v13/openam-federation/OpenFM/src/test/java/com/sun/identity/entitlement/
H A DDelegationPrivilegeSubResourceTest.java121 String uuid,
130 sbj.setID(uuid);
119 createDelegationPrivilege( String dpName, String uuid, String resource, ApplicationPrivilege.PossibleAction actions) argument
H A DSubRealmEvaluationTest.java142 public static Subject createSubject(String uuid) { argument
144 userPrincipals.add(new AuthSPrincipal(uuid));
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/session/service/access/
H A DSessionQueryManager.java91 * (uuid). The returned value will be a Map (sid->expiration_time).
93 * @param uuid
100 public Map<String, Long> getAllSessionsByUUID(String uuid) throws SessionException { argument
101 return sessionPersistenceStore.getAllSessionsByUUID(uuid);
/forgerock/openam/openam-entitlements/src/main/java/com/sun/identity/entitlement/
H A DEntitlementSubjectImpl.java45 private String uuid; field in class:EntitlementSubjectImpl
58 * @param uuid the universal ID of subject.
60 public EntitlementSubjectImpl(String uuid) { argument
61 this.uuid = uuid;
67 * @param uuid is the universal ID of subject.
71 public EntitlementSubjectImpl(String uuid, String pSubjectName) { argument
72 this.uuid = uuid;
83 uuid
138 setID(String uuid) argument
226 hasPrincipal(Subject subject, String uuid) argument
[all...]
/forgerock/openam/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/service/
H A DResourceTypeServiceImpl.java54 final String uuid = resourceType.getUUID();
55 if (configuration.containsUUID(subject, realm, uuid)) {
56 throw new EntitlementException(RESOURCE_TYPE_ALREADY_EXISTS, uuid);
101 public void deleteResourceType(Subject subject, String realm, String uuid) throws EntitlementException { argument
103 if (!configuration.containsUUID(subject, realm, uuid)) {
104 throw new EntitlementException(NO_SUCH_RESOURCE_TYPE, uuid, realm);
107 configuration.removeResourceType(subject, realm, uuid);
114 public ResourceType getResourceType(Subject subject, String realm, String uuid) throws EntitlementException { argument
115 return configuration.getResourceType(subject, realm, uuid);
125 final String uuid
[all...]

Completed in 43 milliseconds

1234