Class IssueRegistrationAccessTokenArguments

  • All Implemented Interfaces:
    net.shibboleth.idp.cli.CommandLineArguments

    public class IssueRegistrationAccessTokenArguments
    extends net.shibboleth.idp.cli.AbstractCommandLineArguments
    Command line processing for issue-registration-access-token flow.
    • 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.
    • Constructor Detail

      • IssueRegistrationAccessTokenArguments

        public IssueRegistrationAccessTokenArguments()
    • Method Detail

      • validate

        public void validate()
        Specified by:
        validate in interface net.shibboleth.idp.cli.CommandLineArguments
        Overrides:
        validate in class net.shibboleth.idp.cli.AbstractCommandLineArguments
      • doBuildURL

        protected StringBuilder doBuildURL​(@Nonnull
                                           StringBuilder builder)
        Overrides:
        doBuildURL in class net.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