Module jakarta.security
Annotation Interface InMemoryIdentityStoreDefinition.Credentials
- Enclosing class:
InMemoryIdentityStoreDefinition
@Retention(RUNTIME)
@Target({TYPE,METHOD,FIELD,PARAMETER})
public static @interface InMemoryIdentityStoreDefinition.Credentials
Credentials
define a single caller identity for
use with the InMemoryIdentityStoreDefinition
annotation.-
Required Element Summary
Modifier and TypeRequired ElementDescriptionName of caller.A text-based password used by the caller to authenticate. -
Optional Element Summary
-
Element Details
-
callerName
String callerNameName of caller. This is the name a caller uses to authenticate with.- Returns:
- Name of caller
-
password
String passwordA text-based password used by the caller to authenticate.- Returns:
- A text-based password
-
groups
String[] groupsThe optional list of groups that the specified caller is in.- Returns:
- optional list of groups
- Default:
{}
-