Class GrouperOAuthClient

java.lang.Object
edu.internet2.middleware.grouper.authentication.GrouperOAuthClient
All Implemented Interfaces:
GcSqlAssignPrimaryKey

public class GrouperOAuthClient extends Object implements GcSqlAssignPrimaryKey
Entity representing a dynamically registered OAuth client. Stored in the grouper_oauth_client table. Uses GcDbAccess/GcPersistable for database access instead of Hibernate.
  • Field Details

  • Constructor Details

    • GrouperOAuthClient

      public GrouperOAuthClient()
  • Method Details

    • gcSqlAssignNewPrimaryKeyForInsert

      public boolean gcSqlAssignNewPrimaryKeyForInsert()
      Description copied from interface: GcSqlAssignPrimaryKey
      assign a new primary key for insert. return true if assigned (insert) or false if not needed
      Specified by:
      gcSqlAssignNewPrimaryKeyForInsert in interface GcSqlAssignPrimaryKey
      See Also:
    • getInternalId

      public long getInternalId()
      Returns:
      the internalId
    • setInternalId

      public void setInternalId(long internalId)
      Parameters:
      internalId - the internalId to set
    • getClientId

      public String getClientId()
      Returns:
      the clientId
    • setClientId

      public void setClientId(String clientId)
      Parameters:
      clientId - the clientId to set
    • getClientName

      public String getClientName()
      Returns:
      the clientName
    • setClientName

      public void setClientName(String clientName)
      Parameters:
      clientName - the clientName to set
    • getRedirectUrisDb

      public String getRedirectUrisDb()
      Returns:
      the redirectUrisDb (comma-separated)
    • setRedirectUrisDb

      public void setRedirectUrisDb(String redirectUrisDb)
      Parameters:
      redirectUrisDb - the redirectUrisDb to set (comma-separated)
    • getRedirectUris

      public Set<String> getRedirectUris()
      get redirect URIs as a Set
      Returns:
      the redirect URIs
    • setRedirectUris

      public void setRedirectUris(Set<String> redirectUris)
      set redirect URIs from a Set
      Parameters:
      redirectUris -
    • getClientSecret

      public String getClientSecret()
      Returns:
      the clientSecret
    • setClientSecret

      public void setClientSecret(String clientSecret)
      Parameters:
      clientSecret - the clientSecret to set
    • getRegisteredMicros

      public Long getRegisteredMicros()
      Returns:
      the registeredMicros
    • setRegisteredMicros

      public void setRegisteredMicros(Long registeredMicros)
      Parameters:
      registeredMicros - the registeredMicros to set
    • getMemberInternalId

      public Long getMemberInternalId()
      Returns:
      the memberInternalId
    • setMemberInternalId

      public void setMemberInternalId(Long memberInternalId)
      Parameters:
      memberInternalId - the memberInternalId to set
    • getCodeCount

      public Long getCodeCount()
      Returns:
      the codeCount
    • setCodeCount

      public void setCodeCount(Long codeCount)
      Parameters:
      codeCount - the codeCount to set
    • getLastCodeMicros

      public Long getLastCodeMicros()
      Returns:
      the lastCodeMicros
    • setLastCodeMicros

      public void setLastCodeMicros(Long lastCodeMicros)
      Parameters:
      lastCodeMicros - the lastCodeMicros to set