Search in sources :

Example 16 with OIDCException

use of it.spid.cie.oidc.exception.OIDCException in project spid-cie-oidc-java by italia.

the class TrustChainBuilder method start.

public TrustChainBuilder start() throws OIDCException {
    try {
        processTrustAnchorConfiguration();
        processSubjectConfiguration();
        discovery();
    } catch (Exception e) {
        logger.error(e.getMessage(), e);
        this.valid = false;
        if (e instanceof OIDCException) {
            throw e;
        } else {
            throw new OIDCException(e);
        }
    }
    return this;
}
Also used : OIDCException(it.spid.cie.oidc.exception.OIDCException) OIDCException(it.spid.cie.oidc.exception.OIDCException) TrustChainException(it.spid.cie.oidc.exception.TrustChainException) TrustChainBuilderException(it.spid.cie.oidc.exception.TrustChainBuilderException)

Aggregations

OIDCException (it.spid.cie.oidc.exception.OIDCException)16 JSONObject (org.json.JSONObject)9 JWKSet (com.nimbusds.jose.jwk.JWKSet)7 JWTException (it.spid.cie.oidc.exception.JWTException)7 TrustChainException (it.spid.cie.oidc.exception.TrustChainException)6 JOSEException (com.nimbusds.jose.JOSEException)5 ParseException (java.text.ParseException)5 URI (java.net.URI)4 HttpRequest (java.net.http.HttpRequest)4 JWK (com.nimbusds.jose.jwk.JWK)3 EntityException (it.spid.cie.oidc.exception.EntityException)3 FederationEntity (it.spid.cie.oidc.model.FederationEntity)3 JSONArray (org.json.JSONArray)3 JWSAlgorithm (com.nimbusds.jose.JWSAlgorithm)2 RelyingPartyException (it.spid.cie.oidc.exception.RelyingPartyException)2 SchemaException (it.spid.cie.oidc.exception.SchemaException)2 TrustChainBuilderException (it.spid.cie.oidc.exception.TrustChainBuilderException)2 AuthnRequest (it.spid.cie.oidc.model.AuthnRequest)2 HashMap (java.util.HashMap)2 EncryptionMethod (com.nimbusds.jose.EncryptionMethod)1