/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/policy/ |
H A D | SharedSubject.java | 53 String subjectName; field in class:SharedSubject 58 SharedSubject(String subjectName, SubjectTypeManager stm) { argument 59 this.subjectName = subjectName; 79 return stm.getSubjectByName(subjectName).getValueSyntax(token); 101 return stm.getSubjectByName(subjectName).getValidValues(token); 126 return stm.getSubjectByName(subjectName).getValidValues(token, pattern); 160 subject = stm.getSubjectByName(subjectName); 162 String[] objs = { subjectName }; 165 subjectName, PolicyExceptio [all...] |
H A D | SubjectTypeManager.java | 246 * @param subjectName name of the Subject instance 255 public void addSubject(String subjectName, Subject subject) argument 260 addSubject(subjectName, subject, false); 266 * @param subjectName name of the Subject instance 282 private void addSubject(String subjectName, Subject subject, argument 287 debug.message("Adding realm subject : " + subjectName 293 realmSubjects.addSubject(subjectName, subject, exclusive); 296 debug.message("Added realm subject : " + subjectName 306 * @param subjectName name of the Subject 310 * the given subjectName i 314 removeSubject(String subjectName) argument 340 removeSubject(String subjectName, boolean forcedRemove) argument 387 replaceSubject(String subjectName, Subject subject) argument 415 replaceSubject(String subjectName, Subject subject, boolean exclusive) argument 467 getSubjectByName(String subjectName) argument 483 getCachedSubjectByName(String subjectName) argument 516 getSharedSubject(String subjectName) argument [all...] |
H A D | Subjects.java | 149 String subjectName = XMLUtils.getNodeAttributeValue( 155 addSubject(subjectName, subject, EXCLUSIVE_TYPE.equals(exclusive)); 164 String subjectName = XMLUtils.getNodeAttributeValue( 170 addSubject(subjectName, stm.getSharedSubject(subjectName), 250 * @param subjectName name of the subject object 257 public Subject getSubject(String subjectName) argument 260 QualifiedSubject answer = (QualifiedSubject) users.get(subjectName); 262 String[] objs = { subjectName }; 265 subjectName, PolicyExceptio 280 fetchSubject(String subjectName) argument 322 addSubject(String subjectName, Subject subject) argument 346 addSubject(String subjectName, Subject subject, boolean exclusive) argument 379 replaceSubject(String subjectName, Subject subject) argument 403 replaceSubject(String subjectName, Subject subject, boolean exclusive) argument 424 removeSubject(String subjectName) argument 469 isSubjectExclusive(String subjectName) argument 494 isRealmSubject(String subjectName) argument [all...] |
H A D | Policy.java | 673 * @param subjectName name of subject. 683 public Subject getSubject(String subjectName) throws NameNotFoundException { argument 684 return users.getSubject(subjectName); 715 * @param subjectName name of the Subject as defined at the realm 729 public void addRealmSubject(SSOToken token, String subjectName, argument 735 addRealmSubject(subjectName, stm, exclusive); 742 * @param subjectName name of the Subject as defined at the realm 759 public void addRealmSubject(String subjectName, SubjectTypeManager stm, argument 769 + " realm subject " + subjectName 786 stm.getSubjectByName(subjectName); 888 removeSubject(String subjectName) argument 928 isSubjectExclusive(String subjectName) argument 947 isRealmSubject(String subjectName) argument [all...] |
H A D | PolicyManager.java | 1520 * @param subjectName name of the realm subject to check for 1524 public Set getPoliciesUsingRealmSubject(String subjectName) argument 1533 if (subjectNames.contains(subjectName)) { 1534 Subject subject = policy.getSubject(subjectName); 1543 Policy getPolicyUsingRealmSubject(String subjectName) argument 1552 if (subjectNames.contains(subjectName)) { 1553 Subject subject = p.getSubject(subjectName);
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/policy/ |
H A D | SharedSubject.java | 53 String subjectName; field in class:SharedSubject 58 SharedSubject(String subjectName, SubjectTypeManager stm) { argument 59 this.subjectName = subjectName; 79 return stm.getSubjectByName(subjectName).getValueSyntax(token); 101 return stm.getSubjectByName(subjectName).getValidValues(token); 126 return stm.getSubjectByName(subjectName).getValidValues(token, pattern); 160 subject = stm.getSubjectByName(subjectName); 162 String[] objs = { subjectName }; 165 subjectName, PolicyExceptio [all...] |
H A D | SubjectTypeManager.java | 246 * @param subjectName name of the Subject instance 255 public void addSubject(String subjectName, Subject subject) argument 260 addSubject(subjectName, subject, false); 266 * @param subjectName name of the Subject instance 282 private void addSubject(String subjectName, Subject subject, argument 287 debug.message("Adding realm subject : " + subjectName 293 realmSubjects.addSubject(subjectName, subject, exclusive); 296 debug.message("Added realm subject : " + subjectName 306 * @param subjectName name of the Subject 310 * the given subjectName i 314 removeSubject(String subjectName) argument 340 removeSubject(String subjectName, boolean forcedRemove) argument 387 replaceSubject(String subjectName, Subject subject) argument 415 replaceSubject(String subjectName, Subject subject, boolean exclusive) argument 467 getSubjectByName(String subjectName) argument 483 getCachedSubjectByName(String subjectName) argument 516 getSharedSubject(String subjectName) argument [all...] |
H A D | Subjects.java | 148 String subjectName = XMLUtils.getNodeAttributeValue( 154 addSubject(subjectName, subject, EXCLUSIVE_TYPE.equals(exclusive)); 163 String subjectName = XMLUtils.getNodeAttributeValue( 169 addSubject(subjectName, stm.getSharedSubject(subjectName), 249 * @param subjectName name of the subject object 256 public Subject getSubject(String subjectName) argument 259 QualifiedSubject answer = (QualifiedSubject) users.get(subjectName); 261 String[] objs = { subjectName }; 264 subjectName, PolicyExceptio 279 fetchSubject(String subjectName) argument 321 addSubject(String subjectName, Subject subject) argument 345 addSubject(String subjectName, Subject subject, boolean exclusive) argument 378 replaceSubject(String subjectName, Subject subject) argument 402 replaceSubject(String subjectName, Subject subject, boolean exclusive) argument 423 removeSubject(String subjectName) argument 468 isSubjectExclusive(String subjectName) argument 493 isRealmSubject(String subjectName) argument [all...] |
H A D | Policy.java | 673 * @param subjectName name of subject. 683 public Subject getSubject(String subjectName) throws NameNotFoundException { argument 684 return users.getSubject(subjectName); 715 * @param subjectName name of the Subject as defined at the realm 729 public void addRealmSubject(SSOToken token, String subjectName, argument 735 addRealmSubject(subjectName, stm, exclusive); 742 * @param subjectName name of the Subject as defined at the realm 759 public void addRealmSubject(String subjectName, SubjectTypeManager stm, argument 769 + " realm subject " + subjectName 786 stm.getSubjectByName(subjectName); 888 removeSubject(String subjectName) argument 928 isSubjectExclusive(String subjectName) argument 947 isRealmSubject(String subjectName) argument [all...] |
H A D | PolicyManager.java | 1496 * @param subjectName name of the realm subject to check for 1500 public Set getPoliciesUsingRealmSubject(String subjectName) argument 1509 if (subjectNames.contains(subjectName)) { 1510 Subject subject = policy.getSubject(subjectName); 1519 Policy getPolicyUsingRealmSubject(String subjectName) argument 1528 if (subjectNames.contains(subjectName)) { 1529 Subject subject = p.getSubject(subjectName);
|
/forgerock/openam-v13/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/rest/ |
H A D | SubjectTypesResourceTest.java | 199 * JSON Schema without removal of 'subjectName' attribute: 200 * {"type":"object","properties":{"subjectName":{"type":"string"}}} 202 * JSON Schema with removal of 'subjectName' attribute: 207 private String subjectName; field in class:SubjectTypesResourceTest.TestSubjectTypeWithName
|
/forgerock/openam/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/rest/ |
H A D | SubjectTypesResourceTest.java | 216 * JSON Schema without removal of 'subjectName' attribute: 217 * {"type":"object","properties":{"subjectName":{"type":"string"}}} 219 * JSON Schema with removal of 'subjectName' attribute: 224 private String subjectName; field in class:SubjectTypesResourceTest.TestSubjectTypeWithName
|
/forgerock/openam-v13/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/rest/model/json/ |
H A D | PolicyRequestTest.java | 177 final String subjectName = "test"; 179 final JsonValue jwt = getJsonSubject(subjectName); 196 final String subjectName = "test"; 198 Jwt jwt = getJwtSubject(subjectName); 210 assertThat(jwtPrincipals).contains(new JwtPrincipal(getJsonSubject(subjectName))); 214 private Jwt getJwtSubject(final String subjectName) { argument 217 claims.setSubject(subjectName); 223 private JsonValue getJsonSubject(final String subjectName) { argument 224 return json(object(field("sub", subjectName)));
|
/forgerock/openam/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/rest/model/json/ |
H A D | PolicyRequestTest.java | 198 final String subjectName = "test"; 200 final JsonValue jwt = getJsonSubject(subjectName); 218 final String subjectName = "test"; 220 Jwt jwt = getJwtSubject(subjectName); 233 assertThat(jwtPrincipals).contains(new JwtPrincipal(getJsonSubject(subjectName))); 237 private Jwt getJwtSubject(final String subjectName) { argument 240 claims.setSubject(subjectName); 246 private JsonValue getJsonSubject(final String subjectName) { argument 247 return json(object(field("sub", subjectName)));
|
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/entitlement/opensso/ |
H A D | PrivilegeUtils.java | 202 for (String subjectName : subjectNames) { 203 Subject subject = policy.getSubject(subjectName); 204 boolean exclusive = policy.isSubjectExclusive(subjectName); 226 EntitlementSubject sbj = mapGenericSubject(subjectName, 395 String subjectName, 414 return new PolicySubject(subjectName, className, val, exclusive); 394 mapGenericSubject( String subjectName, Subject objSubject, boolean exclusive) argument
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/entitlement/opensso/ |
H A D | PrivilegeUtils.java | 204 for (String subjectName : subjectNames) { 205 Subject subject = policy.getSubject(subjectName); 206 boolean exclusive = policy.isSubjectExclusive(subjectName); 228 EntitlementSubject sbj = mapGenericSubject(subjectName, 397 String subjectName, 416 return new PolicySubject(subjectName, className, val, exclusive); 396 mapGenericSubject( String subjectName, Subject objSubject, boolean exclusive) argument
|
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/policy/ |
H A D | PolicyOpViewBeanBase.java | 92 private static final String TBL_SUBJECTS_DATA_NAME = "subjectName"; 977 String subjectName, 989 subjectName); 1110 String subjectName = (String)tblSubjectsModel.getValue( 1112 policy.removeSubject(subjectName); 975 forwardToSubjectURL( String url, String subjectName, String subjectType, String realmName, String op ) argument
|
/forgerock/openam/openam-console/src/main/java/com/sun/identity/console/policy/ |
H A D | PolicyOpViewBeanBase.java | 92 private static final String TBL_SUBJECTS_DATA_NAME = "subjectName"; 977 String subjectName, 989 subjectName); 1110 String subjectName = (String)tblSubjectsModel.getValue( 1112 policy.removeSubject(subjectName); 975 forwardToSubjectURL( String url, String subjectName, String subjectType, String realmName, String op ) argument
|