Class GrouperTrustedJwtConfig
java.lang.Object
edu.internet2.middleware.grouper.authentication.GrouperTrustedJwtConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
int
how many seconds a jwt lastsconfig keyssubject id claim namesubjectId, subjectIdentifier, or subjectIdOrIdentifier (optional)get subject source ids.static GrouperTrustedJwtConfig
retrieveFromConfigOrCache
(String configId) retrieve from config or cachevoid
setExpirationSeconds
(int expirationSeconds) how many seconds a jwt lastsvoid
setGrouperTrustedJwtConfigKeys
(List<GrouperTrustedJwtConfigKey> grouperTrustedJwtConfigKeys) config keysvoid
setSubjectIdClaimName
(String subjectIdClaimName) subject id claim namevoid
setSubjectIdType
(String subjectIdType1) subjectId, subjectIdentifier, or subjectIdOrIdentifier (optional)void
setSubjectSourceIds
(Set<String> subjectSourceIds) get subject source ids.
-
Constructor Details
-
GrouperTrustedJwtConfig
public GrouperTrustedJwtConfig()
-
-
Method Details
-
retrieveFromConfigOrCache
retrieve from config or cache- Parameters:
configId
-- Returns:
- the config
-
clearCache
public static void clearCache() -
getSubjectIdClaimName
subject id claim name- Returns:
- claim name
-
setSubjectIdClaimName
subject id claim name- Parameters:
subjectIdClaimName
-
-
getSubjectIdType
subjectId, subjectIdentifier, or subjectIdOrIdentifier (optional)- Returns:
- subject id type
-
setSubjectIdType
subjectId, subjectIdentifier, or subjectIdOrIdentifier (optional)- Parameters:
subjectIdType1
-
-
getSubjectSourceIds
get subject source ids. could be overridden through claim though- Returns:
-
setSubjectSourceIds
get subject source ids. could be overridden through claim though- Parameters:
subjectSourceIds
-
-
getGrouperTrustedJwtConfigKeys
config keys- Returns:
-
setGrouperTrustedJwtConfigKeys
public void setGrouperTrustedJwtConfigKeys(List<GrouperTrustedJwtConfigKey> grouperTrustedJwtConfigKeys) config keys- Parameters:
grouperTrustedJwtConfigKeys
-
-
getExpirationSeconds
public int getExpirationSeconds()how many seconds a jwt lasts- Returns:
-
setExpirationSeconds
public void setExpirationSeconds(int expirationSeconds) how many seconds a jwt lasts- Parameters:
expirationSeconds
-
-