public interface IUserCredentials
If user caching is enabled the validate method will check its cache for a matching username & password pair. If present, the validate method returns true. If user caching is not enabled the validate method will call to the configured JAAS LoginModules to authenticate the user.
An instance of UserCredentials is passed to implementations of IScenarioAuthority to provide the identiy of the user.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPassword()
Get the password.
|
javax.security.auth.Subject |
getSubject()
Get the javax security subject for this user.
|
java.lang.String |
getUsername()
Get the username
|
boolean |
validate()
Validate the user credentials
|
java.lang.String getUsername()
java.lang.String getPassword()
javax.security.auth.Subject getSubject()
boolean validate()
Submit a bug or feature
Copyright (c) 2013-2022 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.