Module org.glassfish.soteria
Annotation Type Credentials
-
@Retention(RUNTIME) @Target({TYPE,METHOD,FIELD,PARAMETER}) public @interface Credentials
Credentialsdefine a single caller identity for use with theEmbeddedIdentityStoreDefinitionannotation.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description StringcallerNameName of caller.StringpasswordA text-based password used by the caller to authenticate.
-
-
-
Element Detail
-
callerName
String callerName
Name of caller. This is the name a caller uses to authenticate with.- Returns:
- Name of caller
-
-
-
password
String password
A text-based password used by the caller to authenticate.- Returns:
- A text-based password
-
-
-
groups
String[] groups
The optional list of groups that the specified caller is in.- Returns:
- optional list of groups
- Default:
- {}
-
-