/forgerock/openam/openam-core/src/main/java/com/sun/identity/entitlement/ |
H A D | UserAttributes.java | 6 * The contents of this file are subject to the terms 75 * @param subject Subject who is under evaluation. 85 Subject subject, 98 Map<String, Set<String>> values = sac.getUserAttributes(subject, names); 82 evaluate( Subject adminSubject, String realm, Subject subject, String resourceName, Map<String, Set<String>> environment ) argument
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/entitlement/opensso/ |
H A D | PolicyCondition.java | 6 * The contents of this file are subject to the terms 173 * @param subject Subject to be evaluated. 181 Subject subject, 186 SSOToken token = (subject != null) ? getSSOToken(subject) : null; 198 private static SSOToken getSSOToken(Subject subject) { argument 199 Set privateCred = subject.getPrivateCredentials(); 179 evaluate( String realm, Subject subject, String resourceName, Map<String, Set<String>> environment ) argument
|
H A D | PolicySubject.java | 6 * The contents of this file are subject to the terms 58 * This subject wraps all OpenAM policy subjects. 74 * @param values Values of this subject. 116 * Returns <code>true</code> if this is an exclusive subject. 118 * @return <code>true</code> if this is an exclusive subject. 151 * Returns state of this subject. 153 * @return state of this subject. 193 * Returns subject decision. 197 * @param subject Subject to be evaluated. 200 * @return subject decisio 204 evaluate( String realm, SubjectAttributesManager mgr, javax.security.auth.Subject subject, String resourceName, Map<String, Set<String>> environment ) argument 229 getSSOToken(javax.security.auth.Subject subject) argument [all...] |
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/entitlement/ |
H A D | CachingEntitlementCondition.java | 4 * The contents of this file are subject to the terms of the Common Development and 90 * @param subject {@inheritDoc} 96 public ConditionDecision evaluate(String realm, Subject subject, String resourceName, argument 102 return backingCondition.evaluate(realm, subject, resourceName, environment); 119 ConditionDecision result = backingCondition.evaluate(realm, subject, resourceName, environment);
|
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/entitlement/monitoring/ |
H A D | PolicyMonitor.java | 2 * The contents of this file are subject to the terms of the Common Development and 36 * @param subject The subject making the evaluation 39 void addEvaluation(long duration, String realm, String applicationName, String resourceName, Subject subject, argument 51 * @param subject The subject making the evaluation 54 String applicationName, String resourceName, Subject subject); 53 addEvaluation(String policyName, long duration, String realm, String applicationName, String resourceName, Subject subject) argument
|
/forgerock/openam/openam-distribution/src/main/amserver/samples/server/source/com/sun/identity/samples/authentication/spi/providers/ |
H A D | LoginModuleSample.java | 6 * The contents of this file are subject to the terms 64 * @param subject 68 public void init(Subject subject, Map sharedState, Map options) { argument
|
/forgerock/openam/openam-entitlements/src/main/java/com/sun/identity/entitlement/ |
H A D | EntitlementSubjectImpl.java | 6 * The contents of this file are subject to the terms 58 * @param uuid the universal ID of subject. 67 * @param uuid is the universal ID of subject. 68 * @param pSubjectName subject name as used in OpenAM policy, 151 * Sets OpenAM policy subject name of the object 152 * @param pSubjectName subject name as used in OpenAM policy, 161 * Returns OpenAM policy subject name of the object 162 * @return subject name as used in OpenAM policy, 226 protected boolean hasPrincipal(Subject subject, String uuid) { argument 227 Set<Principal> userPrincipals = subject [all...] |
/forgerock/openam/openam-entitlements/src/main/java/com/sun/identity/entitlement/opensso/ |
H A D | OpenSSOSubjectAttributesCollector.java | 6 * The contents of this file are subject to the terms 108 public Map<String, Set<String>> getAttributes(Subject subject, Set<String> attributeNames) argument 110 String uuid = SubjectUtils.getPrincipalId(subject); 259 * @param subject identity of the user. 266 Subject subject, 269 String uuid = SubjectUtils.getPrincipalId(subject); 265 getUserAttributes( Subject subject, Set<String> attrNames ) argument
|
/forgerock/openam/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/conditions/environment/ |
H A D | AuthenticateToRealmCondition.java | 2 * The contents of this file are subject to the terms of the Common Development and 102 public ConditionDecision evaluate(String realm, Subject subject, String resourceName, Map<String, Set<String>> env) argument 115 SSOToken token = (subject == null) ? null : (SSOToken) subject.getPrivateCredentials().iterator().next();
|
H A D | LDAPFilterCondition.java | 2 * The contents of this file are subject to the terms of the Common Development and 82 public ConditionDecision evaluate(String realm, Subject subject, String resourceName, Map<String, Set<String>> env) argument 85 if (subject == null) { 89 SSOToken token = (SSOToken) getValue(subject.getPrivateCredentials());
|
/forgerock/openam/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/service/ |
H A D | ResourceTypeServiceImpl.java | 2 * The contents of this file are subject to the terms of the Common Development and 51 public ResourceType saveResourceType(Subject subject, String realm, ResourceType resourceType) argument 55 if (configuration.containsUUID(subject, realm, uuid)) { 60 if (configuration.containsName(subject, realm, name)) { 64 final ResourceType updatedResourceType = setMetaData(subject, realm, resourceType); 65 configuration.storeResourceType(subject, realm, updatedResourceType); 70 private String getPrincipalName(Subject subject) { argument 71 final Set<Principal> principals = subject.getPrincipals(); 75 private ResourceType setMetaData(Subject subject, String realm, ResourceType resourceType) argument 79 final String principalName = getPrincipalName(subject); 101 deleteResourceType(Subject subject, String realm, String uuid) argument 114 getResourceType(Subject subject, String realm, String uuid) argument 122 updateResourceType(Subject subject, String realm, ResourceType resourceType) argument 147 contains(Subject subject, String realm, String id) argument 152 getResourceTypes(QueryFilter<SmsAttribute> filter, Subject subject, String realm) argument 158 getResourceTypesData(Subject subject, String realm) argument [all...] |
/forgerock/openam/openam-entitlements/src/test/java/com/sun/identity/entitlement/xacml3/ |
H A D | ResourceAttributeUtilTest.java | 2 * The contents of this file are subject to the terms of the Common Development and 100 public Map<String, Set<String>> evaluate(Subject adminSubject, String realm, Subject subject, String resourceName, Map<String, Set<String>> environment) throws EntitlementException { argument
|
/forgerock/openam/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/rest/ |
H A D | PolicyV1FilterTest.java | 2 * The contents of this file are subject to the terms of the Common Development and 92 private Subject subject; field in class:PolicyV1FilterTest 101 subject = new Subject(); 144 given(contextHelper.getSubject(context)).willReturn(subject); 150 given(applicationServiceFactory.create(subject, "/abc")).willReturn(applicationService); 163 verify(applicationServiceFactory).create(subject, "/abc"); 196 given(contextHelper.getSubject(context)).willReturn(subject); 202 given(applicationServiceFactory.create(subject, "/abc")).willReturn(applicationService); 210 verify(applicationServiceFactory).create(subject, "/abc"); 224 given(contextHelper.getSubject(context)).willReturn(subject); [all...] |
/forgerock/openam/openam-federation/OpenFM/src/main/integrations/oracle/source/com/sun/identity/authentication/oblix/ |
H A D | OblixAuthModule.java | 6 * The contents of this file are subject to the terms 76 public void init(Subject subject, Map sharedState, Map options) { argument
|
/forgerock/openam/openam-federation/OpenFM/src/main/java/com/sun/identity/authentication/modules/federation/ |
H A D | Federation.java | 6 * The contents of this file are subject to the terms 80 public void init(Subject subject, Map sharedState, Map options) { argument
|
/forgerock/openam/openam-federation/OpenFM/src/main/java/com/sun/identity/authentication/modules/sae/ |
H A D | SAE.java | 6 * The contents of this file are subject to the terms 80 public void init(Subject subject, Map sharedState, Map options) { argument
|
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/security/ |
H A D | SessionContextStatement.java | 6 * The contents of this file are subject to the terms 67 * @param subject <code>Subject</code> object. 68 * @throws SAMLException if <code>sessionContext</code> is null or subject 72 Subject subject) 74 if ((sessionContext == null) || (subject ==null)) { 81 this._subject = subject; 91 * @param subject <code>Subject</code> object. 93 * subject is null. 97 Subject subject) 99 if ((sessionContext == null) || (subject 71 SessionContextStatement(SessionContext sessionContext, Subject subject) argument 95 SessionContextStatement(SessionContext sessionContext, ProxySubject proxySubject, Subject subject) argument [all...] |
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml/assertion/ |
H A D | Subject.java | 6 * The contents of this file are subject to the terms 43 *An identification of a subject by its name and security domain. 45 *Information that allows the subject to be authenticated. 47 *If a <code>Subject</code> element contains more than one subject 104 * passing in the subject's <code>SubjectConfirmation</code> element. 106 * @param subject Subject to be checked. 107 * @return true if this object and <code>subject</code> are equals. 109 public boolean equals(Subject subject) { argument 112 if (subject != null) { // the ones passed as a parameter is not null 113 NameIdentifier nid = subject [all...] |
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/ |
H A D | AuthnQueryUtil.java | 6 * The contents of this file are subject to the terms 570 private static NameID getNameID(Subject subject, String realm, String authnAuthorityEntityID) { argument 571 NameID nameID = subject.getNameID(); 573 EncryptedID encryptedID = subject.getEncryptedID();
|
H A D | DiscoveryBootstrap.java | 6 * The contents of this file are subject to the terms 137 Subject subject, String wscID, String realm) throws SAML2Exception { 209 convertSPNameID(subject.getNameID()), providerID, 215 convertSC(subject.getSubjectConfirmation()), 216 convertIDPNameID(subject.getNameID())); 219 convertSPNameID(subject.getNameID()), 220 convertSC(subject.getSubjectConfirmation()), 221 convertIDPNameID(subject.getNameID())); 136 getResourceOffering(String authnContextClassRef, Subject subject, String wscID, String realm) argument
|
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/protocol/impl/ |
H A D | SubjectQueryAbstractImpl.java | 6 * The contents of this file are subject to the terms 47 protected Subject subject; field in class:SubjectQueryAbstractImpl 56 return subject; 62 * @param subject the new <code>Subject</code> object. 66 public void setSubject(Subject subject) throws SAML2Exception { argument 71 this.subject = subject; 82 childElements.append(subject.toXMLString(includeNSPrefix, 87 if (subject == null) { 122 subject [all...] |
/forgerock/openam/openam-sts/openam-token-service-sts/src/main/java/org/forgerock/openam/sts/tokengeneration/saml2/statements/ |
H A D | DefaultSubjectProvider.java | 2 * The contents of this file are subject to the terms of the Common Development and 61 Subject subject = AssertionFactory.getInstance().createSubject(); 62 setNameIdentifier(subject, subjectId, saml2Config.getNameIdFormat()); 98 subject.setSubjectConfirmation(subjectConfirmationList); 99 return subject; 102 "Exception caught setting subject confirmation state in DefaultSubjectProvider: " + e, e); 106 private void setNameIdentifier(Subject subject, String subjectId, String nameIdFormat) throws TokenCreationException { argument 108 subject.setNameID(createNameIdentifier(subjectId, nameIdFormat));
|
/forgerock/openam/openam-uma/src/main/java/org/forgerock/openam/uma/ |
H A D | UmaProviderSettingsFactory.java | 2 * The contents of this file are subject to the terms of the Common Development and 133 public Evaluator getPolicyEvaluator(Subject subject, String clientId) throws EntitlementException { argument 134 return new Evaluator(subject, clientId); 138 public Evaluator getPolicyEvaluator(Subject subject) throws EntitlementException { argument 139 return new Evaluator(subject);
|
/forgerock/openam/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/steps/policy/conditions/ |
H A D | PolicyConditionUpgradeMap.java | 2 * The contents of this file are subject to the terms of the Common Development and 44 import org.forgerock.openam.entitlement.conditions.subject.IdentitySubject; 45 import org.forgerock.openam.entitlement.conditions.subject.AuthenticatedUsers; 70 public EntitlementSubject migrate(PolicySubject subject, MigrationReport migrationReport) { 386 public EntitlementSubject migrate(PolicySubject subject, MigrationReport migrationReport) { 391 Set<String> subjects = subject.getValues(); 396 if (subject.isExclusive()) { 410 public EntitlementSubject migrate(PolicySubject subject, MigrationReport migrationReport) { 413 if (subject.isExclusive()) { 435 * Returns {@code true} if there exists an entry for migrating the specified old policy subject conditio 463 migrateSubjectCondition(String conditionClassName, PolicySubject subject, MigrationReport migrationReport) argument [all...] |
H A D | PolicyConditionUpgrader.java | 2 * The contents of this file are subject to the terms of the Common Development and 61 private boolean isSubjectConditionUpgradable(EntitlementSubject subject) { argument 63 if (subject == null) { 67 if (subject instanceof NoSubject) { 71 if (subject instanceof LogicalSubject) { 72 LogicalSubject logicalSubject = (LogicalSubject) subject; 80 return isUpgradablePolicySubject(subject); 83 private boolean isUpgradablePolicySubject(EntitlementSubject subject) { argument 84 return subject instanceof PolicySubject 85 && conditionUpgradeMap.containsSubjectCondition(((PolicySubject) subject) 165 migrateSubjectCondition(PolicySubject subject, MigrationReport migrationReport) argument [all...] |