Class DefaultPolicyOperationFactory
- java.lang.Object
-
- com.nimbusds.openid.connect.sdk.federation.policy.operations.DefaultPolicyOperationFactory
-
- All Implemented Interfaces:
PolicyOperationFactory
public class DefaultPolicyOperationFactory extends Object implements PolicyOperationFactory
The default policy operation factory.Supports all standard OpenID Connect federation policy operations:
Override the
createForName(com.nimbusds.openid.connect.sdk.federation.policy.language.OperationName)
method to support additional custom policies.Related specifications:
- OpenID Connect Federation 1.0, section 4.1.
-
-
Constructor Summary
Constructors Constructor Description DefaultPolicyOperationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyOperation
createForName(OperationName name)
Creates a policy operation for the specified name.
-
-
-
Constructor Detail
-
DefaultPolicyOperationFactory
public DefaultPolicyOperationFactory()
-
-
Method Detail
-
createForName
public PolicyOperation createForName(OperationName name)
Description copied from interface:PolicyOperationFactory
Creates a policy operation for the specified name.- Specified by:
createForName
in interfacePolicyOperationFactory
- Parameters:
name
- The name. Must not benull
.- Returns:
- The policy operation,
null
if not supported.
-
-