/forgerock/openam-v13/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-v13/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-v13/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-v13/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-v13/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 132 public Evaluator getPolicyEvaluator(Subject subject, String clientId) throws EntitlementException { argument 133 return new Evaluator(subject, clientId); 137 public Evaluator getPolicyEvaluator(Subject subject) throws EntitlementException { argument 138 return new Evaluator(subject);
|
/forgerock/openam-v13/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 43 import org.forgerock.openam.entitlement.conditions.subject.IdentitySubject; 44 import org.forgerock.openam.entitlement.conditions.subject.AuthenticatedUsers; 69 public EntitlementSubject migrate(PolicySubject subject, MigrationReport migrationReport) { 385 public EntitlementSubject migrate(PolicySubject subject, MigrationReport migrationReport) { 389 Set<String> subjects = subject.getValues(); 403 public EntitlementSubject migrate(PolicySubject subject, MigrationReport migrationReport) { 423 * Returns {@code true} if there exists an entry for migrating the specified old policy subject condition class. 425 * @param conditionClassName The old policy subject condition class name. 426 * @return {@code true} if there exists an entry for migrating the specified old policy subject conditio 451 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...] |
/forgerock/openidm-v4/openidm-util/src/main/java/org/forgerock/openidm/patch/ |
H A D | JsonValuePatch.java | 6 * The contents of this file are subject to the terms 43 private static boolean add(JsonValue subject, PatchOperation operation) throws BadRequestException { argument 47 subject.putPermissive(operation.getField(), operation.getValue().getObject()); 52 private static boolean remove(JsonValue subject, PatchOperation operation) throws BadRequestException { argument 56 final JsonValue current = subject.get(operation.getField()); 62 subject.remove(operation.getField()); 75 subject.remove(operation.getField()); 84 private static boolean replace(JsonValue subject, PatchOperation operation) throws BadRequestException { argument 88 subject.remove(operation.getField()); 90 subject 96 increment(JsonValue subject, PatchOperation operation) argument 130 move(JsonValue subject, PatchOperation operation) argument 146 copy(JsonValue subject, PatchOperation operation) argument 161 transform(JsonValue subject, PatchOperation operation, PatchValueTransformer transformer) argument 177 unknown(JsonValue subject, PatchOperation operation) argument 215 apply(JsonValue subject, List<PatchOperation> operations) argument 227 apply(JsonValue subject, List<PatchOperation> operations, PatchValueTransformer transformer) argument [all...] |
/forgerock/openidm-v4/openidm-authnfilter/src/main/java/org/forgerock/openidm/auth/modules/ |
H A D | TrustedRequestAttributeAuthModule.java | 2 * The contents of this file are subject to the terms of the Common Development and 133 * @param subject {@inheritDoc} 137 public Promise<Void, AuthenticationException> cleanSubject(MessageInfoContext messageInfo, Subject subject) { argument
|
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/rest/resource/ |
H A D | SSOTokenContext.java | 4 * The contents of this file are subject to the terms of the Common Development and 45 * CREST context that provides a convenience method for getting hold of the caller as an authenticated subject based 52 private final Supplier<Subject> subject; field in class:SSOTokenContext 68 this.subject = memoize(new Supplier<Subject>() { 137 return subject.get();
|
/forgerock/openam/openam-samples/policy-evaluation-plugin/src/main/java/org/forgerock/openam/examples/ |
H A D | SampleAttributeType.java | 2 * The contents of this file are subject to the terms of the Common Development and 65 Subject subject, 63 evaluate(Subject adminSubject, String realm, Subject subject, String resourceName, Map<String, Set<String>> advices) argument
|
H A D | SampleConditionType.java | 2 * The contents of this file are subject to the terms of the Common Development and 32 * Sample policy condition based on the length of the subject names: 33 * subject user names must be at least the specified length. 38 * Key to the minimum length of the subject set for this condition. 44 * Minimum length of the subject's user name(s). 45 * @return Minimum length of the subject's user name(s). 52 * Set the minimum length for the subject's user name(s). 116 Subject subject, 123 for (Principal principal : subject.getPrincipals()) { 115 evaluate(String realm, Subject subject, String resource, Map<String, Set<String>> environment) argument
|
H A D | SampleSubjectType.java | 2 * The contents of this file are subject to the terms of the Common Development and 34 * Sample policy subject condition to check the subject user name 43 * The authorized subject's user name. 44 * @return The authorized subject's user name. 51 * Set the authorized subject's user name. 52 * @param name The authorized subject's user name. 95 Subject subject, 102 for (Principal principal : subject.getPrincipals()) { 93 evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String, Set<String>> environment) argument
|
/forgerock/openam/openam-scripting/src/test/java/org/forgerock/openam/scripting/service/ |
H A D | ScriptConfigurationServiceTest.java | 2 * The contents of this file are subject to the terms of the Common Development and 56 private Subject subject; field in class:ScriptConfigurationServiceTest 73 subject = new Subject(); 74 subject.getPrincipals().add(testUserPrinciple); 119 sc = service.create(sc, subject); 145 service.create(sc, subject); 167 service.create(sc, subject); 214 scNew = service.update(scNew, subject); 240 service.update(scNew, subject); 261 service.update(scNew, subject); [all...] |
/forgerock/openam/openam-authentication/openam-auth-common/src/main/java/org/forgerock/openam/authentication/modules/common/ |
H A D | AuthLoginModule.java | 2 * The contents of this file are subject to the terms of the Common Development and 59 * @param subject The Subject to be authenticated. 66 public abstract void init(Subject subject, Map sharedState, Map options); argument
|
/forgerock/openam/openam-authentication/openam-auth-device-id/src/main/java/org/forgerock/openam/authentication/modules/deviceprint/ |
H A D | DeviceIdSave.java | 2 * The contents of this file are subject to the terms of the Common Development and 67 public void init(Subject subject, Map sharedState, Map config) { argument
|
/forgerock/openam/openam-authentication/openam-auth-hotp/src/main/java/com/sun/identity/authentication/modules/hotp/ |
H A D | DefaultSMSGatewayImpl.java | 6 * The contents of this file are subject to the terms 62 public void sendSMSMessage(String from, String to, String subject, argument 82 sendMail.postMail(tos, subject, msg, from); 84 sendMail.postMail(tos, subject, msg, from, "UTF-8", smtpHostName, 103 public void sendEmail(String from, String to, String subject, argument 105 sendSMSMessage(from, to, subject, message, code, options);
|
/forgerock/openam/openam-authentication/openam-auth-oauth2/src/main/java/org/forgerock/openam/authentication/modules/oauth2/ |
H A D | DefaultEmailGatewayImpl.java | 6 * The contents of this file are subject to the terms 60 * @param subject The E-mail subject 65 public void sendEmail(String from, String to, String subject, argument 84 sendMail.postMail(tos, subject, message, from); 88 sendMail.postMail(tos, subject, message, from, "UTF-8", smtpHostName,
|
/forgerock/openam/openam-authentication/openam-auth-oidc/src/main/java/org/forgerock/openam/authentication/modules/oidc/ |
H A D | OpenIdConnect.java | 2 * The contents of this file are subject to the terms of the Common Development and 64 public void init(Subject subject, Map sharedState, Map options) { argument
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/service/ |
H A D | DefaultSessionActivator.java | 6 * The contents of this file are subject to the terms 62 final InternalSession authSession, final Subject subject) 69 return updateSessions(session, loginState, session, authSession, sessionService, subject); 78 SessionService sessionService, Subject subject) 98 //ensure that we've updated the subject (if appropriate, e.g. from anonymous -> known) 99 loginState.setSubject(addSSOTokenPrincipal(subject, sessionToActivate.getID())); 125 protected Subject addSSOTokenPrincipal(Subject subject, SessionID sid) { argument 126 if (subject == null) { 127 subject = new Subject(); 134 subject 61 activateSession(final LoginState loginState, final SessionService sessionService, final InternalSession authSession, final Subject subject) argument 76 updateSessions(InternalSession newSession, LoginState loginState, InternalSession sessionToActivate, InternalSession authSession, SessionService sessionService, Subject subject) argument [all...] |
/forgerock/openam/openam-core/src/main/java/com/sun/identity/entitlement/ |
H A D | LogicalCondition.java | 6 * The contents of this file are subject to the terms 65 * @param pConditionName subject name as used in OpenAM policy, 128 * @param subject EntitlementCondition who is under evaluation. 137 Subject subject, 165 * @param pConditionName subject name as used in OpenAM policy, 175 * @return subject name as used in OpenAM policy, 135 evaluate( String realm, Subject subject, String resourceName, Map<String, Set<String>> environment ) argument
|
H A D | NotCondition.java | 6 * The contents of this file are subject to the terms 79 * @param pConditionName subject name as used in OpenAM policy, 137 * @param subject EntitlementCondition who is under evaluation. 147 Subject subject, 156 ConditionDecision decision = eCondition.evaluate(realm, subject, resourceName, environment); 212 * @param pConditionName subject name as used in OpenAM policy, 223 * @return subject name as used in OpenAM policy, 145 evaluate( String realm, Subject subject, String resourceName, Map<String, Set<String>> environment ) argument
|
H A D | ResourceAttribute.java | 6 * The contents of this file are subject to the terms 73 * @param subject Subject who is under evaluation. 82 Subject subject, 79 evaluate( Subject adminSubject, String realm, Subject subject, String resourceName, Map<String, Set<String>> environment) argument
|
H A D | StaticAttributes.java | 6 * The contents of this file are subject to the terms 81 * @param subject Subject who is under evaluation. 91 Subject subject, 88 evaluate( Subject adminSubject, String realm, Subject subject, String resourceName, Map<String, Set<String>> environment) argument
|
H A D | SubjectAttributesManager.java | 6 * The contents of this file are subject to the terms 117 * @param adminSubject subject who has rights to access PIP. 125 * Returns the <code>SubjectAttributesManager</code> of a given subject. 127 * @param adminSubject subject who has rights to access PIP. 128 * @param subject Subject 129 * @return <code>SubjectAttributesManager</code> of a given subject. 133 Subject subject) { 134 //TOFIX get realm from subject; 141 * @param adminSubject subject who has rights to access PIP. 177 * Returns the subject searc 131 getInstance( Subject adminSubject, Subject subject) argument 230 getSubjectSearchFilter(Subject subject, String applicationName) argument 280 getAttributes( Subject subject, Set<String> attrNames ) argument 335 getUserAttributes( Subject subject, Set<String> attrNames ) argument [all...] |