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 long
addMillisToExpirationTime
Add millis to expiration time.long
addMillisToIssueTime
Add millis to issue time.long
addMillisToNotBeforeTime
Add millis to not before time (should be negative).String
audience
Audience.String
email
Email.String
emailPath
Email path.String
familyName
Family name.String
familyNamePath
Family name path.String
givenName
Given name.String
givenNamePath
Given name path.String
issuer
Issuer.JsonPathJwtConverterProperties
jwtConverter
Json path jwt convert properties.String
jwtId
Jwt id.String
name
The full name of the principal.String
namePath
Name path.String
preferredUsername
Preferred user name.String
preferredUsernamePath
Preferred user name path.String[]
roles
Roles (granted authorities).String
rolesPath
Roles path.String[]
scope
Scopes.String
scopePath
Scope path.String
subject
Subject.
-
-
-
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
-
-