Package com.apama.dashboard.security
Interface IUserCredentials
- 
 public interface IUserCredentialsUserCredentials contain information about a user attempting to access data or perform an operation. An instance is created on each access request and the validate method called.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. 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetPassword()Get the password.javax.security.auth.SubjectgetSubject()Get the javax security subject for this user.java.lang.StringgetUsername()Get the usernamebooleanvalidate()Validate the user credentials
 
- 
- 
- 
Method Detail- 
getUsernamejava.lang.String getUsername() Get the username- Returns:
- The username
 
 - 
getPasswordjava.lang.String getPassword() Get the password.- Returns:
- The password
 
 - 
getSubjectjavax.security.auth.Subject getSubject() Get the javax security subject for this user. This contains the principals and other apsect of the users identify.- Returns:
- The security subject for this user
 
 - 
validateboolean validate() Validate the user credentials- Returns:
- true if valid, false otherwise
 
 
- 
 
-