Searched refs:audience (Results 1 - 17 of 17) sorted by relevance

/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml/assertion/
H A DAudienceRestrictionCondition.java48 *addressed to one or more specific audience.
55 _audience is a list of all the audience this condition is addressed to.
57 containing an audience ( String). This list needs to have at least one
58 audience specified. An audience is actually a URI. The URI MAY identify a
59 document that describes the terms and conditions of audience membership
145 *<code>List</code> of audience for this condition, each of them
147 *@param audience A List of audience to be included within this condition
151 public AudienceRestrictionCondition(List audience) throw argument
168 addAudience(java.lang.String audience) argument
204 containsAudience(String audience) argument
223 removeAudience(java.lang.String audience) argument
[all...]
H A DConditions.java118 * added.Can be null, if no audience restriction.
153 * added. Can be null, if no audience restriction.
287 * Adds an audience restriction condition within this
339 * @return A set of the audience restriction conditions. Each element
348 * Removes an audience restriction condition
350 * <code>Conditions</code> object wherein the specified audience has been
353 * @param audience A string representing audience.
356 public boolean removeAudienceRestrictionCondition(String audience) { argument
361 if (arc.containsAudience(audience)) {
[all...]
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml/assertion/
H A DAudienceRestrictionCondition.java48 *addressed to one or more specific audience.
55 _audience is a list of all the audience this condition is addressed to.
57 containing an audience ( String). This list needs to have at least one
58 audience specified. An audience is actually a URI. The URI MAY identify a
59 document that describes the terms and conditions of audience membership
145 *<code>List</code> of audience for this condition, each of them
147 *@param audience A List of audience to be included within this condition
151 public AudienceRestrictionCondition(List audience) throw argument
168 addAudience(java.lang.String audience) argument
204 containsAudience(String audience) argument
223 removeAudience(java.lang.String audience) argument
[all...]
H A DConditions.java118 * added.Can be null, if no audience restriction.
153 * added. Can be null, if no audience restriction.
287 * Adds an audience restriction condition within this
339 * @return A set of the audience restriction conditions. Each element
348 * Removes an audience restriction condition
350 * <code>Conditions</code> object wherein the specified audience has been
353 * @param audience A string representing audience.
356 public boolean removeAudienceRestrictionCondition(String audience) { argument
361 if (arc.containsAudience(audience)) {
[all...]
/forgerock/openam-v13/openam-sts/openam-token-service-sts/src/main/java/org/forgerock/openam/sts/tokengeneration/saml2/statements/
H A DDefaultConditionsProvider.java52 String audience = saml2Config.getSpEntityId();
57 if (((audience == null) || audience.isEmpty()) && SAML2SubjectConfirmation.BEARER.equals(saml2SubjectConfirmation)) {
62 if ((audience != null) && !audience.isEmpty()) {
66 audienceList.add(audience);
73 "Exception caught setting audience restriction state in SAML2TokenGenerationImpl: " + e, e);
/forgerock/openam/openam-sts/openam-token-service-sts/src/main/java/org/forgerock/openam/sts/tokengeneration/saml2/statements/
H A DDefaultConditionsProvider.java52 String audience = saml2Config.getSpEntityId();
57 if (((audience == null) || audience.isEmpty()) && SAML2SubjectConfirmation.BEARER.equals(saml2SubjectConfirmation)) {
62 if ((audience != null) && !audience.isEmpty()) {
66 audienceList.add(audience);
73 "Exception caught setting audience restriction state in SAML2TokenGenerationImpl: " + e, e);
/forgerock/openam-v13/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/config/user/
H A DOpenIdConnectTokenConfig.java61 private List<String> audience; field in class:OpenIdConnectTokenConfig.OIDCIdTokenConfigBuilder
74 audience = new ArrayList<>();
104 public OIDCIdTokenConfigBuilder addAudience(String audience) { argument
105 this.audience.add(audience);
109 public OIDCIdTokenConfigBuilder setAudience(List<String> audience) { argument
110 this.audience.addAll(audience);
241 private final List<String> audience; field in class:OpenIdConnectTokenConfig
270 this.audience
[all...]
/forgerock/openam/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/config/user/
H A DOpenIdConnectTokenConfig.java62 private List<String> audience; field in class:OpenIdConnectTokenConfig.OIDCIdTokenConfigBuilder
75 audience = new ArrayList<>();
105 public OIDCIdTokenConfigBuilder addAudience(String audience) { argument
106 this.audience.add(audience);
110 public OIDCIdTokenConfigBuilder setAudience(List<String> audience) { argument
111 this.audience.addAll(audience);
242 private final List<String> audience; field in class:OpenIdConnectTokenConfig
271 this.audience
[all...]
/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/core/
H A DOAuth2Jwt.java118 * Checks that the JWT is intended for the provided audience.
120 * @param audience The audience.
121 * @return {@code true} if the JWT 'audience' claim contains the provided audience.
123 public boolean isIntendedForAudience(String audience) { argument
124 return jwt.getClaimsSet().getAudience().contains(audience);
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/
H A DOAuth2Jwt.java136 * Checks that the JWT is intended for the provided audience.
138 * @param audience The audience.
139 * @return {@code true} if the JWT 'audience' claim contains the provided audience.
141 public boolean isIntendedForAudience(String audience) { argument
142 return jwt.getClaimsSet().getAudience().contains(audience);
/forgerock/jee-agents-v3.5/jee-agents-sdk/src/main/java/com/sun/identity/agents/common/
H A DLibertyAuthnResponseHelper.java152 Set audience = conditions.getAudienceRestrictionCondition();
154 boolean present = isPresent(audience, serviceProvider);
160 + "conditions have not been met. Present in audience - "
198 private boolean isPresent(Set audience, String serviceProvider) { argument
200 if (audience == null || audience.isEmpty()) {
203 Iterator itr = audience.iterator();
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/assertion/impl/
H A DAudienceRestrictionImpl.java214 for (String audience : audiences) {
216 append(XMLUtils.escapeSpecialCharacters(audience)).
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/assertion/impl/
H A DAudienceRestrictionImpl.java214 for (String audience : audiences) {
216 append(XMLUtils.escapeSpecialCharacters(audience)).
/forgerock/openam/openam-oauth2-saml2/src/main/java/org/forgerock/openam/oauth2/saml2/core/
H A DSaml2GrantTypeHandler.java200 * entity of its controlling domain, as an intended audience. The token endpoint URL of the authorization
202 * that it is an intended audience for the Assertion.
223 for (final String audience : audiences) {
224 spSsoDescriptor = metaManager.getSPSSODescriptor(realm, audience);
225 if (spSsoDescriptor != null && SAML2Utils.isSourceSiteValid(issuer, realm, audience)) {
231 logger.error("Saml2GrantTypeHandler.isValidAssertion(): Didn't find the Oauth2 provider in audience "
/forgerock/openam-v13/openam-oauth2-saml2/src/main/java/org/forgerock/openam/oauth2/saml2/core/
H A DSaml2GrantTypeHandler.java180 * domain, as an intended audience. The token endpoint URL of the
183 * is an intended audience for the Assertion.
204 for (final String audience : audiences) {
206 String aud = audience;
221 logger.error("Didn't find the oauth2 provider in audience restrictions");
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/security/
H A DLibSecurityTokenProvider.java534 List audience = new ArrayList();
535 audience.add(recipientProviderID);
537 new AudienceRestrictionCondition(audience);
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/security/
H A DLibSecurityTokenProvider.java537 List audience = new ArrayList();
538 audience.add(recipientProviderID);
540 new AudienceRestrictionCondition(audience);

Completed in 5402 milliseconds