Class GrouperOAuthClient
java.lang.Object
edu.internet2.middleware.grouper.authentication.GrouperOAuthClient
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringtable name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanassign a new primary key for insert.longget redirect URIs as a SetvoidsetClientId(String clientId) voidsetClientName(String clientName) voidsetClientSecret(String clientSecret) voidsetCodeCount(Long codeCount) voidsetInternalId(long internalId) voidsetLastCodeMicros(Long lastCodeMicros) voidsetMemberInternalId(Long memberInternalId) voidsetRedirectUris(Set<String> redirectUris) set redirect URIs from a SetvoidsetRedirectUrisDb(String redirectUrisDb) voidsetRegisteredMicros(Long registeredMicros)
-
Field Details
-
TABLE_GROUPER_OAUTH_CLIENT
table name- See Also:
-
COLUMN_INTERNAL_ID
column- See Also:
-
COLUMN_CLIENT_ID
column- See Also:
-
COLUMN_CLIENT_NAME
column- See Also:
-
COLUMN_REDIRECT_URIS
column- See Also:
-
COLUMN_CLIENT_SECRET
column- See Also:
-
COLUMN_REGISTERED_MICROS
column- See Also:
-
COLUMN_MEMBER_INTERNAL_ID
column- See Also:
-
COLUMN_CODE_COUNT
column- See Also:
-
COLUMN_LAST_CODE_MICROS
column- See Also:
-
-
Constructor Details
-
GrouperOAuthClient
public GrouperOAuthClient()
-
-
Method Details
-
gcSqlAssignNewPrimaryKeyForInsert
public boolean gcSqlAssignNewPrimaryKeyForInsert()Description copied from interface:GcSqlAssignPrimaryKeyassign a new primary key for insert. return true if assigned (insert) or false if not needed- Specified by:
gcSqlAssignNewPrimaryKeyForInsertin interfaceGcSqlAssignPrimaryKey- See Also:
-
getInternalId
public long getInternalId()- Returns:
- the internalId
-
setInternalId
public void setInternalId(long internalId) - Parameters:
internalId- the internalId to set
-
getClientId
- Returns:
- the clientId
-
setClientId
- Parameters:
clientId- the clientId to set
-
getClientName
- Returns:
- the clientName
-
setClientName
- Parameters:
clientName- the clientName to set
-
getRedirectUrisDb
- Returns:
- the redirectUrisDb (comma-separated)
-
setRedirectUrisDb
- Parameters:
redirectUrisDb- the redirectUrisDb to set (comma-separated)
-
getRedirectUris
get redirect URIs as a Set- Returns:
- the redirect URIs
-
setRedirectUris
set redirect URIs from a Set- Parameters:
redirectUris-
-
getClientSecret
- Returns:
- the clientSecret
-
setClientSecret
- Parameters:
clientSecret- the clientSecret to set
-
getRegisteredMicros
- Returns:
- the registeredMicros
-
setRegisteredMicros
- Parameters:
registeredMicros- the registeredMicros to set
-
getMemberInternalId
- Returns:
- the memberInternalId
-
setMemberInternalId
- Parameters:
memberInternalId- the memberInternalId to set
-
getCodeCount
- Returns:
- the codeCount
-
setCodeCount
- Parameters:
codeCount- the codeCount to set
-
getLastCodeMicros
- Returns:
- the lastCodeMicros
-
setLastCodeMicros
- Parameters:
lastCodeMicros- the lastCodeMicros to set
-