Class OAuthClientDetails

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
GeneratedIntegrationClientCredentialsDetails, OpenIDClientDetails

public class OAuthClientDetails extends GenericItem
Generated class for type OAuthClientDetails.
See Also:
  • Field Details

    • CLIENTID

      public static final String CLIENTID
      Qualifier of the OAuthClientDetails.clientId attribute
      See Also:
    • RESOURCEIDS

      public static final String RESOURCEIDS
      Qualifier of the OAuthClientDetails.resourceIds attribute
      See Also:
    • CLIENTSECRET

      public static final String CLIENTSECRET
      Qualifier of the OAuthClientDetails.clientSecret attribute
      See Also:
    • SCOPE

      public static final String SCOPE
      Qualifier of the OAuthClientDetails.scope attribute
      See Also:
    • AUTHORIZEDGRANTTYPES

      public static final String AUTHORIZEDGRANTTYPES
      Qualifier of the OAuthClientDetails.authorizedGrantTypes attribute
      See Also:
    • REGISTEREDREDIRECTURI

      public static final String REGISTEREDREDIRECTURI
      Qualifier of the OAuthClientDetails.registeredRedirectUri attribute
      See Also:
    • AUTHORITIES

      public static final String AUTHORITIES
      Qualifier of the OAuthClientDetails.authorities attribute
      See Also:
    • ACCESSTOKENVALIDITYSECONDS

      public static final String ACCESSTOKENVALIDITYSECONDS
      Qualifier of the OAuthClientDetails.accessTokenValiditySeconds attribute
      See Also:
    • REFRESHTOKENVALIDITYSECONDS

      public static final String REFRESHTOKENVALIDITYSECONDS
      Qualifier of the OAuthClientDetails.refreshTokenValiditySeconds attribute
      See Also:
    • AUTOAPPROVE

      public static final String AUTOAPPROVE
      Qualifier of the OAuthClientDetails.autoApprove attribute
      See Also:
    • DISABLED

      public static final String DISABLED
      Qualifier of the OAuthClientDetails.disabled attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • OAuthClientDetails

      public OAuthClientDetails()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • getAccessTokenValiditySeconds

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

      public 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, Integer value)
      Generated method - Setter of the OAuthClientDetails.accessTokenValiditySeconds attribute.
      Parameters:
      value - the accessTokenValiditySeconds - Set of authorities granted to client
    • setAccessTokenValiditySeconds

      public void setAccessTokenValiditySeconds(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 Set<String> getAuthorities(SessionContext ctx)
      Generated method - Getter of the OAuthClientDetails.authorities attribute.
      Returns:
      the authorities - Set of authorities granted to client
    • getAuthorities

      public Set<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, Set<String> value)
      Generated method - Setter of the OAuthClientDetails.authorities attribute.
      Parameters:
      value - the authorities - Set of authorities granted to client
    • setAuthorities

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

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

      public Set<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, Set<String> value)
      Generated method - Setter of the OAuthClientDetails.authorizedGrantTypes attribute.
      Parameters:
      value - the authorizedGrantTypes - Set of grant types for client
    • setAuthorizedGrantTypes

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

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

      public Set<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, Set<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(Set<String> value)
      Generated method - Setter of the OAuthClientDetails.autoApprove attribute.
      Parameters:
      value - the autoApprove - Set of auto approve scopes of client
    • getClientId

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

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

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

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

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

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

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

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

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

      public 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, 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
    • 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 Integer getRefreshTokenValiditySeconds(SessionContext ctx)
      Generated method - Getter of the OAuthClientDetails.refreshTokenValiditySeconds attribute.
      Returns:
      the refreshTokenValiditySeconds - Set of authorities granted to client
    • getRefreshTokenValiditySeconds

      public 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, Integer value)
      Generated method - Setter of the OAuthClientDetails.refreshTokenValiditySeconds attribute.
      Parameters:
      value - the refreshTokenValiditySeconds - Set of authorities granted to client
    • setRefreshTokenValiditySeconds

      public void setRefreshTokenValiditySeconds(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 Set<String> getRegisteredRedirectUri(SessionContext ctx)
      Generated method - Getter of the OAuthClientDetails.registeredRedirectUri attribute.
      Returns:
      the registeredRedirectUri - Set of redirect Uri for client
    • getRegisteredRedirectUri

      public Set<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, Set<String> value)
      Generated method - Setter of the OAuthClientDetails.registeredRedirectUri attribute.
      Parameters:
      value - the registeredRedirectUri - Set of redirect Uri for client
    • setRegisteredRedirectUri

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

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

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

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

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

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

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

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

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