Searched refs:certificates (Results 1 - 25 of 32) sorted by relevance

12

/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/callbackhandlers/
H A DRestAuthX509CallbackHandler.java47 X509Certificate[] certificates = (X509Certificate[]) request.getAttribute(
50 if (certificates != null && certificates.length > 0) {
51 callback.setCertificate(certificates[0]);
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/callbackhandlers/
H A DRestAuthX509CallbackHandler.java47 X509Certificate[] certificates = (X509Certificate[]) request.getAttribute(
50 if (certificates != null && certificates.length > 0) {
51 callback.setCertificate(certificates[0]);
/forgerock/openam-v13/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/token/validator/disp/
H A DCertificateAuthenticationRequestDispatcher.java58 public String dispatch(URL url, AuthTargetMapping.AuthTarget target, X509Certificate[] certificates) throws TokenValidationException { argument
64 if (certificates.length > 1) {
66 for (int ndx = 0; ndx < certificates.length; ndx++) {
67 stringBuilder.append("\n").append(certificates[ndx].getSubjectDN());
71 return postCertInHeader(url, certificates[0], target);
/forgerock/openam/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/token/validator/disp/
H A DCertificateAuthenticationRequestDispatcher.java58 public String dispatch(URL url, AuthTargetMapping.AuthTarget target, X509Certificate[] certificates) throws TokenValidationException { argument
64 if (certificates.length > 1) {
66 for (int ndx = 0; ndx < certificates.length; ndx++) {
67 stringBuilder.append("\n").append(certificates[ndx].getSubjectDN());
71 return postCertInHeader(url, certificates[0], target);
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/key/
H A DKeyUtil.java198 Set<X509Certificate> certificates = sigHash.get(index);
199 if (certificates != null) {
200 return certificates;
203 certificates = new LinkedHashSet<>(3);
220 return certificates;
224 certificates.add(getCert(keyDescriptor));
226 if (certificates.isEmpty()) {
234 sigHash.put(index, certificates);
235 return certificates;
452 * Returns the partner entity's signature verification certificates
[all...]
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/key/
H A DKeyUtil.java212 Set<X509Certificate> certificates = sigHash.get(index);
213 if (certificates != null) {
214 return certificates;
217 certificates = new LinkedHashSet<>(3);
234 return certificates;
238 certificates.add(getCert(keyDescriptor));
240 if (certificates.isEmpty()) {
248 sigHash.put(index, certificates);
249 return certificates;
466 * Returns the partner entity's signature verification certificates
[all...]
/forgerock/openam-v13/openam-sts/openam-rest-sts/src/main/java/org/forgerock/openam/sts/rest/operation/
H A DTokenRequestMarshallerImpl.java72 A list containing the IP addresses of the hosts trusted to present client certificates in headers. Will correspond
374 * For token transformations with x509 certificates as an input token type, a client's identity can only be asserted
375 * via x509 certificates presented via two-way-tls. This certificate can be obtained via the attribute referenced by
389 X509Certificate[] certificates;
407 certificates = pullClientCertFromHeader(context.asContext(HttpContext.class));
409 certificates = pullClientCertFromRequestAttribute(context.asContext(ClientContext.class));
412 if (!ArrayUtils.isEmpty(certificates)) {
413 return marshalX509CertIntoTokenValidatorParameters(certificates);
440 X509Certificate[] certificates = new X509Certificate[clientCertHeader.size()];
450 certificates[nd
[all...]
/forgerock/openam/openam-sts/openam-rest-sts/src/main/java/org/forgerock/openam/sts/rest/operation/
H A DTokenRequestMarshallerImpl.java73 A list containing the IP addresses of the hosts trusted to present client certificates in headers. Will correspond
375 * For token transformations with x509 certificates as an input token type, a client's identity can only be asserted
376 * via x509 certificates presented via two-way-tls. This certificate can be obtained via the attribute referenced by
390 X509Certificate[] certificates;
408 certificates = pullClientCertFromHeader(context.asContext(HttpContext.class));
410 certificates = pullClientCertFromRequestAttribute(context.asContext(ClientContext.class));
413 if (!ArrayUtils.isEmpty(certificates)) {
414 return marshalX509CertIntoTokenValidatorParameters(certificates);
441 X509Certificate[] certificates = new X509Certificate[clientCertHeader.size()];
451 certificates[nd
[all...]
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/common/
H A DQuerySignatureUtil.java174 * @param verificationCerts Verification certificates.
309 private static boolean isValidSignature(Signature sig, Set<X509Certificate> certificates, byte[] queryString, argument
313 for (X509Certificate certificate : certificates) {
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/xmlsig/
H A DFMSigProvider.java340 private boolean isValidSignature(XMLSignature signature, Set<X509Certificate> certificates) throws SAML2Exception { argument
343 for (X509Certificate certificate : certificates) {
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/common/
H A DQuerySignatureUtil.java174 * @param verificationCerts Verification certificates.
309 private static boolean isValidSignature(Signature sig, Set<X509Certificate> certificates, byte[] queryString, argument
313 for (X509Certificate certificate : certificates) {
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/xmlsig/
H A DFMSigProvider.java337 private boolean isValidSignature(XMLSignature signature, Set<X509Certificate> certificates) throws SAML2Exception { argument
340 for (X509Certificate certificate : certificates) {
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/org/forgerock/openam/saml2/
H A DUtilProxySAMLAuthenticator.java173 Set<X509Certificate> certificates = KeyUtil.getVerificationCerts(spSSODescriptor, data.getSpEntityID(),
179 isSignatureOK = data.getAuthnRequest().isSignatureValid(certificates);
182 isSignatureOK = data.getAuthnRequest().isSignatureValid(certificates);
184 isSignatureOK = QuerySignatureUtil.verify(request.getQueryString(), certificates);
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/org/forgerock/openam/saml2/
H A DUtilProxySAMLAuthenticator.java172 Set<X509Certificate> certificates = KeyUtil.getVerificationCerts(spSSODescriptor, data.getSpEntityID(),
178 isSignatureOK = data.getAuthnRequest().isSignatureValid(certificates);
181 isSignatureOK = data.getAuthnRequest().isSignatureValid(certificates);
183 isSignatureOK = QuerySignatureUtil.verify(request.getQueryString(), certificates);
/forgerock/openam-v13/openam-sts/openam-rest-sts/src/test/java/org/forgerock/openam/sts/rest/operation/
H A DTokenRequestMarshallerImplTest.java131 ClientContext clientInfoContext = ClientContext.buildExternalClientContext(null).certificates(certificate).build();
/forgerock/openam-v13/openam-audit/openam-audit-core/src/test/java/org/forgerock/openam/audit/
H A DAbstractHttpAccessAuditFilterTest.java168 .certificates()
/forgerock/openam/openam-audit/openam-audit-core/src/test/java/org/forgerock/openam/audit/
H A DAbstractHttpAccessAuditFilterTest.java168 .certificates()
/forgerock/openam/openam-sts/openam-rest-sts/src/test/java/org/forgerock/openam/sts/rest/operation/
H A DTokenRequestMarshallerImplTest.java131 ClientContext clientInfoContext = ClientContext.buildExternalClientContext(null).certificates(certificate).build();
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/
H A DSPACSUtils.java833 Set<X509Certificate> certificates = KeyUtil.getVerificationCerts(idpDesc, idpEntityID, SAML2Constants.IDP_ROLE);
853 } else if (!assertion.isSignatureValid(certificates)) {
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/
H A DSPACSUtils.java836 Set<X509Certificate> certificates = KeyUtil.getVerificationCerts(idpDesc, idpEntityID, SAML2Constants.IDP_ROLE);
856 } else if (!assertion.isSignatureValid(certificates)) {
/forgerock/openam-v13/openam-federation/OpenFM/src/test/resources/com/sun/identity/workflow/
H A Dslim-openam-soap-sts-server.warMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/org. ...
/forgerock/openam/openam-federation/OpenFM/src/test/resources/com/sun/identity/workflow/
H A Dslim-openam-soap-sts-server.warMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/org. ...
/forgerock/opendj2/ext/ant/lib/
H A Djdeb-0.10.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/plugin. ...
/forgerock/opendj-b2.6/ext/ant/lib/
H A Djdeb-0.10.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/plugin. ...
/forgerock/opendj2.6.2/ext/ant/lib/
H A Djdeb-0.10.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/plugin. ...

Completed in 533 milliseconds

12