Class DefaultRPMetadataPolicyFactory
java.lang.Object
com.nimbusds.openid.connect.sdk.federation.policy.factories.DefaultRPMetadataPolicyFactory
- All Implemented Interfaces:
RPMetadataPolicyFactory
@ThreadSafe
public class DefaultRPMetadataPolicyFactory
extends Object
implements RPMetadataPolicyFactory
The default OpenID relying party metadata policy factory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(OIDCClientMetadata initialMetadata, OIDCClientInformation target) Creates an OpenID relying party metadata policy for an explicit client registration.
-
Constructor Details
-
DefaultRPMetadataPolicyFactory
public DefaultRPMetadataPolicyFactory()
-
-
Method Details
-
create
public MetadataPolicy create(OIDCClientMetadata initialMetadata, OIDCClientInformation target) throws PolicyFormulationException Description copied from interface:RPMetadataPolicyFactoryCreates an OpenID relying party metadata policy for an explicit client registration.- Specified by:
createin interfaceRPMetadataPolicyFactory- Parameters:
initialMetadata- The initial metadata submitted by the relying party. Must not benull.target- The registered OpenID relying party information. Must not benull.- Returns:
- The OpenID relying party metadata policy.
- Throws:
PolicyFormulationException- If the metadata policy couldn't be formulated.
-