Class IssueRegistrationAccessTokenArguments
- java.lang.Object
-
- net.shibboleth.idp.cli.AbstractCommandLineArguments
-
- net.shibboleth.idp.plugin.oidc.op.cli.IssueRegistrationAccessTokenArguments
-
- All Implemented Interfaces:
net.shibboleth.idp.cli.CommandLineArguments
public class IssueRegistrationAccessTokenArguments extends net.shibboleth.idp.cli.AbstractCommandLineArgumentsCommand line processing for issue-registration-access-token flow.
-
-
Field Summary
Fields Modifier and Type Field Description private StringclientIdRequested client identifier for the access token to be issued.private StringlifetimeLifetime for the access token to be issued.private StringpolicyIdMetadata policy identifier for the access token to be issued.private StringpolicyLocationMetadata policy to embed in the token.private booleanreplacementFlag to signal one-time use of the token.static StringURL_PARAM_CLIENT_IDThe URL parameter name for the client identifier.static StringURL_PARAM_LIFETIMEThe URL parameter name for the access token lifetime.static StringURL_PARAM_POLICY_IDThe URL parameter name for the relying party identifier.static StringURL_PARAM_POLICY_LOCATIONThe URL parameter name for the metadata policy location.static StringURL_PARAM_REPLACEMENTThe URL parameter name for the replacement flag.
-
Constructor Summary
Constructors Constructor Description IssueRegistrationAccessTokenArguments()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private StringBuilderappendSeparator(StringBuilder builder)Append the proper parameter separator to the builder.protected StringBuilderdoBuildURL(StringBuilder builder)voidvalidate()
-
-
-
Field Detail
-
URL_PARAM_POLICY_LOCATION
public static final String URL_PARAM_POLICY_LOCATION
The URL parameter name for the metadata policy location.- See Also:
- Constant Field Values
-
URL_PARAM_LIFETIME
public static final String URL_PARAM_LIFETIME
The URL parameter name for the access token lifetime.- See Also:
- Constant Field Values
-
URL_PARAM_POLICY_ID
public static final String URL_PARAM_POLICY_ID
The URL parameter name for the relying party identifier.- See Also:
- Constant Field Values
-
URL_PARAM_CLIENT_ID
public static final String URL_PARAM_CLIENT_ID
The URL parameter name for the client identifier.- See Also:
- Constant Field Values
-
URL_PARAM_REPLACEMENT
public static final String URL_PARAM_REPLACEMENT
The URL parameter name for the replacement flag.- See Also:
- Constant Field Values
-
policyLocation
@Nullable private String policyLocation
Metadata policy to embed in the token.
-
lifetime
@Nullable private String lifetime
Lifetime for the access token to be issued.
-
policyId
@Nullable private String policyId
Metadata policy identifier for the access token to be issued.
-
clientId
@Nullable private String clientId
Requested client identifier for the access token to be issued.
-
replacement
@Nullable private boolean replacement
Flag to signal one-time use of the token.
-
-
Method Detail
-
validate
public void validate()
- Specified by:
validatein interfacenet.shibboleth.idp.cli.CommandLineArguments- Overrides:
validatein classnet.shibboleth.idp.cli.AbstractCommandLineArguments
-
doBuildURL
protected StringBuilder doBuildURL(@Nonnull StringBuilder builder)
- Overrides:
doBuildURLin classnet.shibboleth.idp.cli.AbstractCommandLineArguments
-
appendSeparator
@Nonnull private StringBuilder appendSeparator(@Nonnull StringBuilder builder)
Append the proper parameter separator to the builder.- Parameters:
builder- input builder- Returns:
- the input
-
-