Searched refs:resourceBundleName (Results 1 - 25 of 36) sorted by relevance

12

/forgerock/openam/openam-test-utils/src/main/java/org/forgerock/openam/test/apidescriptor/
H A DApiAssertions.java60 String resourceBundleName = "/" + resource.getSchemeSpecificPart() + ".properties";
62 Properties properties = getResourceBundle(resourceBundleName, annotatedClass);
64 .withFailMessage("No entry found for \"" + propertyName + "\" in " + resourceBundleName)
69 private static Properties getResourceBundle(String resourceBundleName, Class<?> annotatedClass) { argument
71 if (!resourceBundleCache.containsKey(resourceBundleName)) {
74 properties.load(annotatedClass.getResourceAsStream(resourceBundleName));
75 resourceBundleCache.put(resourceBundleName, properties);
77 fail("No resource bundle found at " + resourceBundleName, e);
80 return resourceBundleCache.get(resourceBundleName);
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/validation/
H A DPositiveIntegerValidator.java57 throw new ValidationException(resourceBundleName, "errorCode2");
64 throw new ValidationException(resourceBundleName, "errorCode2");
67 throw new ValidationException(resourceBundleName, "errorCode2");
H A DXSDateTimeValidator.java59 throw new ValidationException(resourceBundleName, "errorCode1");
63 throw new ValidationException(resourceBundleName, "errorCode1");
69 throw new ValidationException(resourceBundleName, "errorCode1");
H A DURLValidator.java60 throw new ValidationException(resourceBundleName, ERROR_CODE);
66 throw new ValidationException(resourceBundleName, ERROR_CODE);
H A DXSDurationValidator.java74 throw new ValidationException(resourceBundleName, "errorCode4");
81 throw new ValidationException(resourceBundleName, "errorCode4");
90 throw new ValidationException(resourceBundleName,"errorCode4");
99 throw new ValidationException(resourceBundleName,"errorCode4");
121 throw new ValidationException(resourceBundleName, "errorCode4");
124 throw new ValidationException(resourceBundleName, "errorCode4");
140 throw new ValidationException(resourceBundleName, "errorCode4");
143 throw new ValidationException(resourceBundleName, "errorCode4");
154 throw new ValidationException(resourceBundleName, "errorCode4");
163 throw new ValidationException(resourceBundleName,"errorCode
[all...]
H A DIntegerValidator.java54 throw new ValidationException(resourceBundleName, "errorCode5");
60 throw new ValidationException(resourceBundleName, "errorCode5");
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/validation/
H A DPositiveIntegerValidator.java57 throw new ValidationException(resourceBundleName, "errorCode2");
64 throw new ValidationException(resourceBundleName, "errorCode2");
67 throw new ValidationException(resourceBundleName, "errorCode2");
H A DXSDateTimeValidator.java59 throw new ValidationException(resourceBundleName, "errorCode1");
63 throw new ValidationException(resourceBundleName, "errorCode1");
69 throw new ValidationException(resourceBundleName, "errorCode1");
H A DURLValidator.java60 throw new ValidationException(resourceBundleName, ERROR_CODE);
66 throw new ValidationException(resourceBundleName, ERROR_CODE);
H A DXSDurationValidator.java74 throw new ValidationException(resourceBundleName, "errorCode4");
81 throw new ValidationException(resourceBundleName, "errorCode4");
90 throw new ValidationException(resourceBundleName,"errorCode4");
99 throw new ValidationException(resourceBundleName,"errorCode4");
121 throw new ValidationException(resourceBundleName, "errorCode4");
124 throw new ValidationException(resourceBundleName, "errorCode4");
140 throw new ValidationException(resourceBundleName, "errorCode4");
143 throw new ValidationException(resourceBundleName, "errorCode4");
154 throw new ValidationException(resourceBundleName, "errorCode4");
163 throw new ValidationException(resourceBundleName,"errorCode
[all...]
H A DIntegerValidator.java54 throw new ValidationException(resourceBundleName, "errorCode5");
60 throw new ValidationException(resourceBundleName, "errorCode5");
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/common/validation/
H A DXSDurationValidator.java75 throw new ValidationException(resourceBundleName, "errorCode4");
82 throw new ValidationException(resourceBundleName, "errorCode4");
91 throw new ValidationException(resourceBundleName,"errorCode4");
100 throw new ValidationException(resourceBundleName,"errorCode4");
122 throw new ValidationException(resourceBundleName, "errorCode4");
125 throw new ValidationException(resourceBundleName, "errorCode4");
141 throw new ValidationException(resourceBundleName, "errorCode4");
144 throw new ValidationException(resourceBundleName, "errorCode4");
155 throw new ValidationException(resourceBundleName, "errorCode4");
164 throw new ValidationException(resourceBundleName,"errorCode
[all...]
H A DPositiveIntegerValidator.java62 throw new ValidationException(resourceBundleName, "errorCode2");
69 throw new ValidationException(resourceBundleName, "errorCode2");
72 throw new ValidationException(resourceBundleName, "errorCode2");
H A DXSDateTimeValidator.java63 throw new ValidationException(resourceBundleName, "errorCode1");
67 throw new ValidationException(resourceBundleName, "errorCode1");
73 throw new ValidationException(resourceBundleName, "errorCode1");
H A DIntegerValidator.java63 throw new ValidationException(resourceBundleName, "errorCode5");
69 throw new ValidationException(resourceBundleName, "errorCode5");
H A DURLValidator.java63 throw new ValidationException(resourceBundleName, "errorCode3");
69 throw new ValidationException(resourceBundleName, "errorCode3");
/forgerock/openam/openam-core/src/main/java/com/sun/identity/common/validation/
H A DXSDurationValidator.java75 throw new ValidationException(resourceBundleName, "errorCode4");
82 throw new ValidationException(resourceBundleName, "errorCode4");
91 throw new ValidationException(resourceBundleName,"errorCode4");
100 throw new ValidationException(resourceBundleName,"errorCode4");
122 throw new ValidationException(resourceBundleName, "errorCode4");
125 throw new ValidationException(resourceBundleName, "errorCode4");
141 throw new ValidationException(resourceBundleName, "errorCode4");
144 throw new ValidationException(resourceBundleName, "errorCode4");
155 throw new ValidationException(resourceBundleName, "errorCode4");
164 throw new ValidationException(resourceBundleName,"errorCode
[all...]
H A DPositiveIntegerValidator.java62 throw new ValidationException(resourceBundleName, "errorCode2");
69 throw new ValidationException(resourceBundleName, "errorCode2");
72 throw new ValidationException(resourceBundleName, "errorCode2");
H A DXSDateTimeValidator.java63 throw new ValidationException(resourceBundleName, "errorCode1");
67 throw new ValidationException(resourceBundleName, "errorCode1");
73 throw new ValidationException(resourceBundleName, "errorCode1");
/forgerock/openam/openam-authentication/openam-auth-common/src/main/java/org/forgerock/openam/authentication/modules/common/
H A DJaspiAuthLoginModulePostAuthenticationPlugin.java39 private final String resourceBundleName; field in class:JaspiAuthLoginModulePostAuthenticationPlugin
42 protected JaspiAuthLoginModulePostAuthenticationPlugin(String resourceBundleName, argument
44 this.resourceBundleName = resourceBundleName;
46 this.DEBUG = Debug.getInstance(resourceBundleName);
92 throw new AuthenticationException(resourceBundleName, "authFailed", null);
96 throw new AuthenticationException(resourceBundleName, "authFailed", null);
99 throw new AuthenticationException(resourceBundleName, "authFailed", null);
104 throw new AuthenticationException(resourceBundleName, "authFailed", null);
H A DJaspiAuthLoginModule.java40 private final String resourceBundleName; field in class:JaspiAuthLoginModule
46 * @param resourceBundleName The name of the authentication module's resource bundle.
49 public JaspiAuthLoginModule(String resourceBundleName, argument
51 this.resourceBundleName = resourceBundleName;
53 debug = Debug.getInstance(resourceBundleName);
118 throw new AuthLoginException(resourceBundleName, "authFailed", null);
126 throw new AuthLoginException(resourceBundleName, "incorrectState", null);
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/validation/
H A DOpenIDConnectURLValidator.java46 throw new ValidationException(resourceBundleName, URLValidator.ERROR_CODE);
50 throw new ValidationException(resourceBundleName, URLValidator.ERROR_CODE);
56 throw new ValidationException(resourceBundleName, URLValidator.ERROR_CODE);
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/validation/
H A DOpenIDConnectURLValidator.java46 throw new ValidationException(resourceBundleName, URLValidator.ERROR_CODE);
50 throw new ValidationException(resourceBundleName, URLValidator.ERROR_CODE);
56 throw new ValidationException(resourceBundleName, URLValidator.ERROR_CODE);
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/sm/
H A DInvalidAttributeValueException.java42 private String resourceBundleName; field in class:InvalidAttributeValueException
87 resourceBundleName = rbName;
107 if ((resourceBundleName == null) || (locale == null) || (attributeI18nKey == null) || (rbName == null)) {
110 ResourceBundle bundle = amCache.getResBundle(resourceBundleName, locale);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/sm/
H A DInvalidAttributeValueException.java42 private String resourceBundleName; field in class:InvalidAttributeValueException
87 resourceBundleName = rbName;
107 if ((resourceBundleName == null) || (locale == null) || (attributeI18nKey == null) || (rbName == null)) {
110 ResourceBundle bundle = amCache.getResBundle(resourceBundleName, locale);

Completed in 599 milliseconds

12