Annotation Type WithJwtAuthenticationToken
-
@Retention(RUNTIME) @WithSecurityContext(factory=JwtAuthenticationTokenSecurityContextFactory.class) public @interface WithJwtAuthenticationToken
The interface With jwt authentication token.- Author:
- Christian Bremer
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description longaddMillisToExpirationTimeAdd millis to expiration time.longaddMillisToIssueTimeAdd millis to issue time.longaddMillisToNotBeforeTimeAdd millis to not before time (should be negative).StringaudienceAudience.StringemailEmail.StringemailPathEmail path.StringfamilyNameFamily name.StringfamilyNamePathFamily name path.StringgivenNameGiven name.StringgivenNamePathGiven name path.StringissuerIssuer.JsonPathJwtConverterPropertiesjwtConverterJson path jwt convert properties.StringjwtIdJwt id.StringnameThe full name of the principal.StringnamePathName path.StringpreferredUsernamePreferred user name.StringpreferredUsernamePathPreferred user name path.String[]rolesRoles (granted authorities).StringrolesPathRoles path.String[]scopeScopes.StringscopePathScope path.StringsubjectSubject.
-
-
-
Element Detail
-
audience
String audience
Audience.- Returns:
- the audience
- Default:
- "http://audience"
-
-
-
issuer
String issuer
Issuer.- Returns:
- the issuer
- Default:
- "http://issuer"
-
-
-
jwtId
String jwtId
Jwt id.- Returns:
- the jwt id
- Default:
- "080836fb-7e74-4a56-92ba-08aeaf9a3851"
-
-
-
subject
String subject
Subject.- Returns:
- the subject
- Default:
- "1918e152-294b-4701-a2c8-b9090bb5aa07"
-
-
-
name
String name
The full name of the principal.- Returns:
- the name
- Default:
- "Anna Livia Plurabelle"
-
-
-
namePath
String namePath
Name path.- Returns:
- the path
- Default:
- "name"
-
-
-
preferredUsername
String preferredUsername
Preferred user name.- Returns:
- the preferred user name
- Default:
- "anna"
-
-
-
preferredUsernamePath
String preferredUsernamePath
Preferred user name path.- Returns:
- the path
- Default:
- "preferred_username"
-
-
-
givenName
String givenName
Given name.- Returns:
- the given name
- Default:
- "Anna Livia"
-
-
-
givenNamePath
String givenNamePath
Given name path.- Returns:
- the path
- Default:
- "given_name"
-
-
-
familyName
String familyName
Family name.- Returns:
- the family name
- Default:
- "Plurabelle"
-
-
-
familyNamePath
String familyNamePath
Family name path.- Returns:
- the path
- Default:
- "family_name"
-
-
-
email
String email
Email.- Returns:
- the email
- Default:
- "anna.livia.plurabelle@example.net"
-
-
-
emailPath
String emailPath
Email path.- Returns:
- the path
- Default:
- "email"
-
-
-
scope
String[] scope
Scopes.- Returns:
- the scopes
- Default:
- {""}
-
-
-
scopePath
String scopePath
Scope path.- Returns:
- the path
- Default:
- "scope"
-
-
-
roles
String[] roles
Roles (granted authorities).- Returns:
- the roles
- Default:
- {""}
-
-
-
rolesPath
String rolesPath
Roles path.- Returns:
- the path
- Default:
- "realm_access.roles"
-
-
-
jwtConverter
JsonPathJwtConverterProperties jwtConverter
Json path jwt convert properties.- Returns:
- the json path jwt convert properties
- Default:
- @org.bremersee.test.security.authentication.JsonPathJwtConverterProperties
-
-