Class OAuthClientDetails

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable
    Direct Known Subclasses:
    OpenIDClientDetails

    public class OAuthClientDetails
    extends GenericItem
    Generated class for type OAuthClientDetails.
    See Also:
    Serialized Form
    • Field Detail

      • CLIENTID

        public static final java.lang.String CLIENTID
        Qualifier of the OAuthClientDetails.clientId attribute
        See Also:
        Constant Field Values
      • RESOURCEIDS

        public static final java.lang.String RESOURCEIDS
        Qualifier of the OAuthClientDetails.resourceIds attribute
        See Also:
        Constant Field Values
      • CLIENTSECRET

        public static final java.lang.String CLIENTSECRET
        Qualifier of the OAuthClientDetails.clientSecret attribute
        See Also:
        Constant Field Values
      • SCOPE

        public static final java.lang.String SCOPE
        Qualifier of the OAuthClientDetails.scope attribute
        See Also:
        Constant Field Values
      • AUTHORIZEDGRANTTYPES

        public static final java.lang.String AUTHORIZEDGRANTTYPES
        Qualifier of the OAuthClientDetails.authorizedGrantTypes attribute
        See Also:
        Constant Field Values
      • REGISTEREDREDIRECTURI

        public static final java.lang.String REGISTEREDREDIRECTURI
        Qualifier of the OAuthClientDetails.registeredRedirectUri attribute
        See Also:
        Constant Field Values
      • AUTHORITIES

        public static final java.lang.String AUTHORITIES
        Qualifier of the OAuthClientDetails.authorities attribute
        See Also:
        Constant Field Values
      • ACCESSTOKENVALIDITYSECONDS

        public static final java.lang.String ACCESSTOKENVALIDITYSECONDS
        Qualifier of the OAuthClientDetails.accessTokenValiditySeconds attribute
        See Also:
        Constant Field Values
      • REFRESHTOKENVALIDITYSECONDS

        public static final java.lang.String REFRESHTOKENVALIDITYSECONDS
        Qualifier of the OAuthClientDetails.refreshTokenValiditySeconds attribute
        See Also:
        Constant Field Values
      • AUTOAPPROVE

        public static final java.lang.String AUTOAPPROVE
        Qualifier of the OAuthClientDetails.autoApprove attribute
        See Also:
        Constant Field Values
      • DISABLED

        public static final java.lang.String DISABLED
        Qualifier of the OAuthClientDetails.disabled attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • OAuthClientDetails

        public OAuthClientDetails()
    • Method Detail

      • getAccessTokenValiditySeconds

        public java.lang.Integer getAccessTokenValiditySeconds​(SessionContext ctx)
        Generated method - Getter of the OAuthClientDetails.accessTokenValiditySeconds attribute.
        Returns:
        the accessTokenValiditySeconds - Set of authorities granted to client
      • getAccessTokenValiditySeconds

        public java.lang.Integer getAccessTokenValiditySeconds()
        Generated method - Getter of the OAuthClientDetails.accessTokenValiditySeconds attribute.
        Returns:
        the accessTokenValiditySeconds - Set of authorities granted to client
      • getAccessTokenValiditySecondsAsPrimitive

        public int getAccessTokenValiditySecondsAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the OAuthClientDetails.accessTokenValiditySeconds attribute.
        Returns:
        the accessTokenValiditySeconds - Set of authorities granted to client
      • getAccessTokenValiditySecondsAsPrimitive

        public int getAccessTokenValiditySecondsAsPrimitive()
        Generated method - Getter of the OAuthClientDetails.accessTokenValiditySeconds attribute.
        Returns:
        the accessTokenValiditySeconds - Set of authorities granted to client
      • setAccessTokenValiditySeconds

        public void setAccessTokenValiditySeconds​(SessionContext ctx,
                                                  java.lang.Integer value)
        Generated method - Setter of the OAuthClientDetails.accessTokenValiditySeconds attribute.
        Parameters:
        value - the accessTokenValiditySeconds - Set of authorities granted to client
      • setAccessTokenValiditySeconds

        public void setAccessTokenValiditySeconds​(java.lang.Integer value)
        Generated method - Setter of the OAuthClientDetails.accessTokenValiditySeconds attribute.
        Parameters:
        value - the accessTokenValiditySeconds - Set of authorities granted to client
      • setAccessTokenValiditySeconds

        public void setAccessTokenValiditySeconds​(SessionContext ctx,
                                                  int value)
        Generated method - Setter of the OAuthClientDetails.accessTokenValiditySeconds attribute.
        Parameters:
        value - the accessTokenValiditySeconds - Set of authorities granted to client
      • setAccessTokenValiditySeconds

        public void setAccessTokenValiditySeconds​(int value)
        Generated method - Setter of the OAuthClientDetails.accessTokenValiditySeconds attribute.
        Parameters:
        value - the accessTokenValiditySeconds - Set of authorities granted to client
      • getAuthorities

        public java.util.Set<java.lang.String> getAuthorities​(SessionContext ctx)
        Generated method - Getter of the OAuthClientDetails.authorities attribute.
        Returns:
        the authorities - Set of authorities granted to client
      • getAuthorities

        public java.util.Set<java.lang.String> getAuthorities()
        Generated method - Getter of the OAuthClientDetails.authorities attribute.
        Returns:
        the authorities - Set of authorities granted to client
      • setAuthorities

        public void setAuthorities​(SessionContext ctx,
                                   java.util.Set<java.lang.String> value)
        Generated method - Setter of the OAuthClientDetails.authorities attribute.
        Parameters:
        value - the authorities - Set of authorities granted to client
      • setAuthorities

        public void setAuthorities​(java.util.Set<java.lang.String> value)
        Generated method - Setter of the OAuthClientDetails.authorities attribute.
        Parameters:
        value - the authorities - Set of authorities granted to client
      • getAuthorizedGrantTypes

        public java.util.Set<java.lang.String> getAuthorizedGrantTypes​(SessionContext ctx)
        Generated method - Getter of the OAuthClientDetails.authorizedGrantTypes attribute.
        Returns:
        the authorizedGrantTypes - Set of grant types for client
      • getAuthorizedGrantTypes

        public java.util.Set<java.lang.String> getAuthorizedGrantTypes()
        Generated method - Getter of the OAuthClientDetails.authorizedGrantTypes attribute.
        Returns:
        the authorizedGrantTypes - Set of grant types for client
      • setAuthorizedGrantTypes

        public void setAuthorizedGrantTypes​(SessionContext ctx,
                                            java.util.Set<java.lang.String> value)
        Generated method - Setter of the OAuthClientDetails.authorizedGrantTypes attribute.
        Parameters:
        value - the authorizedGrantTypes - Set of grant types for client
      • setAuthorizedGrantTypes

        public void setAuthorizedGrantTypes​(java.util.Set<java.lang.String> value)
        Generated method - Setter of the OAuthClientDetails.authorizedGrantTypes attribute.
        Parameters:
        value - the authorizedGrantTypes - Set of grant types for client
      • getAutoApprove

        public java.util.Set<java.lang.String> getAutoApprove​(SessionContext ctx)
        Generated method - Getter of the OAuthClientDetails.autoApprove attribute.
        Returns:
        the autoApprove - Set of auto approve scopes of client
      • getAutoApprove

        public java.util.Set<java.lang.String> getAutoApprove()
        Generated method - Getter of the OAuthClientDetails.autoApprove attribute.
        Returns:
        the autoApprove - Set of auto approve scopes of client
      • setAutoApprove

        public void setAutoApprove​(SessionContext ctx,
                                   java.util.Set<java.lang.String> value)
        Generated method - Setter of the OAuthClientDetails.autoApprove attribute.
        Parameters:
        value - the autoApprove - Set of auto approve scopes of client
      • setAutoApprove

        public void setAutoApprove​(java.util.Set<java.lang.String> value)
        Generated method - Setter of the OAuthClientDetails.autoApprove attribute.
        Parameters:
        value - the autoApprove - Set of auto approve scopes of client
      • getClientId

        public java.lang.String getClientId​(SessionContext ctx)
        Generated method - Getter of the OAuthClientDetails.clientId attribute.
        Returns:
        the clientId - Client Id
      • getClientId

        public java.lang.String getClientId()
        Generated method - Getter of the OAuthClientDetails.clientId attribute.
        Returns:
        the clientId - Client Id
      • setClientId

        protected void setClientId​(SessionContext ctx,
                                   java.lang.String value)
        Generated method - Setter of the OAuthClientDetails.clientId attribute.
        Parameters:
        value - the clientId - Client Id
      • setClientId

        protected void setClientId​(java.lang.String value)
        Generated method - Setter of the OAuthClientDetails.clientId attribute.
        Parameters:
        value - the clientId - Client Id
      • getClientSecret

        public java.lang.String getClientSecret​(SessionContext ctx)
        Generated method - Getter of the OAuthClientDetails.clientSecret attribute.
        Returns:
        the clientSecret - Client Secret
      • getClientSecret

        public java.lang.String getClientSecret()
        Generated method - Getter of the OAuthClientDetails.clientSecret attribute.
        Returns:
        the clientSecret - Client Secret
      • setClientSecret

        public void setClientSecret​(SessionContext ctx,
                                    java.lang.String value)
        Generated method - Setter of the OAuthClientDetails.clientSecret attribute.
        Parameters:
        value - the clientSecret - Client Secret
      • setClientSecret

        public void setClientSecret​(java.lang.String value)
        Generated method - Setter of the OAuthClientDetails.clientSecret attribute.
        Parameters:
        value - the clientSecret - Client Secret
      • isDisabled

        public java.lang.Boolean isDisabled​(SessionContext ctx)
        Generated method - Getter of the OAuthClientDetails.disabled attribute.
        Returns:
        the disabled - Client disabled
      • isDisabled

        public java.lang.Boolean isDisabled()
        Generated method - Getter of the OAuthClientDetails.disabled attribute.
        Returns:
        the disabled - Client disabled
      • isDisabledAsPrimitive

        public boolean isDisabledAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the OAuthClientDetails.disabled attribute.
        Returns:
        the disabled - Client disabled
      • isDisabledAsPrimitive

        public boolean isDisabledAsPrimitive()
        Generated method - Getter of the OAuthClientDetails.disabled attribute.
        Returns:
        the disabled - Client disabled
      • setDisabled

        public void setDisabled​(SessionContext ctx,
                                java.lang.Boolean value)
        Generated method - Setter of the OAuthClientDetails.disabled attribute.
        Parameters:
        value - the disabled - Client disabled
      • setDisabled

        public void setDisabled​(java.lang.Boolean value)
        Generated method - Setter of the OAuthClientDetails.disabled attribute.
        Parameters:
        value - the disabled - Client disabled
      • setDisabled

        public void setDisabled​(SessionContext ctx,
                                boolean value)
        Generated method - Setter of the OAuthClientDetails.disabled attribute.
        Parameters:
        value - the disabled - Client disabled
      • setDisabled

        public void setDisabled​(boolean value)
        Generated method - Setter of the OAuthClientDetails.disabled attribute.
        Parameters:
        value - the disabled - Client disabled
      • getRefreshTokenValiditySeconds

        public java.lang.Integer getRefreshTokenValiditySeconds​(SessionContext ctx)
        Generated method - Getter of the OAuthClientDetails.refreshTokenValiditySeconds attribute.
        Returns:
        the refreshTokenValiditySeconds - Set of authorities granted to client
      • getRefreshTokenValiditySeconds

        public java.lang.Integer getRefreshTokenValiditySeconds()
        Generated method - Getter of the OAuthClientDetails.refreshTokenValiditySeconds attribute.
        Returns:
        the refreshTokenValiditySeconds - Set of authorities granted to client
      • getRefreshTokenValiditySecondsAsPrimitive

        public int getRefreshTokenValiditySecondsAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the OAuthClientDetails.refreshTokenValiditySeconds attribute.
        Returns:
        the refreshTokenValiditySeconds - Set of authorities granted to client
      • getRefreshTokenValiditySecondsAsPrimitive

        public int getRefreshTokenValiditySecondsAsPrimitive()
        Generated method - Getter of the OAuthClientDetails.refreshTokenValiditySeconds attribute.
        Returns:
        the refreshTokenValiditySeconds - Set of authorities granted to client
      • setRefreshTokenValiditySeconds

        public void setRefreshTokenValiditySeconds​(SessionContext ctx,
                                                   java.lang.Integer value)
        Generated method - Setter of the OAuthClientDetails.refreshTokenValiditySeconds attribute.
        Parameters:
        value - the refreshTokenValiditySeconds - Set of authorities granted to client
      • setRefreshTokenValiditySeconds

        public void setRefreshTokenValiditySeconds​(java.lang.Integer value)
        Generated method - Setter of the OAuthClientDetails.refreshTokenValiditySeconds attribute.
        Parameters:
        value - the refreshTokenValiditySeconds - Set of authorities granted to client
      • setRefreshTokenValiditySeconds

        public void setRefreshTokenValiditySeconds​(SessionContext ctx,
                                                   int value)
        Generated method - Setter of the OAuthClientDetails.refreshTokenValiditySeconds attribute.
        Parameters:
        value - the refreshTokenValiditySeconds - Set of authorities granted to client
      • setRefreshTokenValiditySeconds

        public void setRefreshTokenValiditySeconds​(int value)
        Generated method - Setter of the OAuthClientDetails.refreshTokenValiditySeconds attribute.
        Parameters:
        value - the refreshTokenValiditySeconds - Set of authorities granted to client
      • getRegisteredRedirectUri

        public java.util.Set<java.lang.String> getRegisteredRedirectUri​(SessionContext ctx)
        Generated method - Getter of the OAuthClientDetails.registeredRedirectUri attribute.
        Returns:
        the registeredRedirectUri - Set of redirect Uri for client
      • getRegisteredRedirectUri

        public java.util.Set<java.lang.String> getRegisteredRedirectUri()
        Generated method - Getter of the OAuthClientDetails.registeredRedirectUri attribute.
        Returns:
        the registeredRedirectUri - Set of redirect Uri for client
      • setRegisteredRedirectUri

        public void setRegisteredRedirectUri​(SessionContext ctx,
                                             java.util.Set<java.lang.String> value)
        Generated method - Setter of the OAuthClientDetails.registeredRedirectUri attribute.
        Parameters:
        value - the registeredRedirectUri - Set of redirect Uri for client
      • setRegisteredRedirectUri

        public void setRegisteredRedirectUri​(java.util.Set<java.lang.String> value)
        Generated method - Setter of the OAuthClientDetails.registeredRedirectUri attribute.
        Parameters:
        value - the registeredRedirectUri - Set of redirect Uri for client
      • getResourceIds

        public java.util.Set<java.lang.String> getResourceIds​(SessionContext ctx)
        Generated method - Getter of the OAuthClientDetails.resourceIds attribute.
        Returns:
        the resourceIds - Set of Resource Id's
      • getResourceIds

        public java.util.Set<java.lang.String> getResourceIds()
        Generated method - Getter of the OAuthClientDetails.resourceIds attribute.
        Returns:
        the resourceIds - Set of Resource Id's
      • setResourceIds

        public void setResourceIds​(SessionContext ctx,
                                   java.util.Set<java.lang.String> value)
        Generated method - Setter of the OAuthClientDetails.resourceIds attribute.
        Parameters:
        value - the resourceIds - Set of Resource Id's
      • setResourceIds

        public void setResourceIds​(java.util.Set<java.lang.String> value)
        Generated method - Setter of the OAuthClientDetails.resourceIds attribute.
        Parameters:
        value - the resourceIds - Set of Resource Id's
      • getScope

        public java.util.Set<java.lang.String> getScope​(SessionContext ctx)
        Generated method - Getter of the OAuthClientDetails.scope attribute.
        Returns:
        the scope - Set of client scopes
      • getScope

        public java.util.Set<java.lang.String> getScope()
        Generated method - Getter of the OAuthClientDetails.scope attribute.
        Returns:
        the scope - Set of client scopes
      • setScope

        public void setScope​(SessionContext ctx,
                             java.util.Set<java.lang.String> value)
        Generated method - Setter of the OAuthClientDetails.scope attribute.
        Parameters:
        value - the scope - Set of client scopes
      • setScope

        public void setScope​(java.util.Set<java.lang.String> value)
        Generated method - Setter of the OAuthClientDetails.scope attribute.
        Parameters:
        value - the scope - Set of client scopes