Java org.apache.shiro.authc SimpleAuthenticationInfo fields, constructors, methods, implement or subclass

Example usage for Java org.apache.shiro.authc SimpleAuthenticationInfo fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.shiro.authc SimpleAuthenticationInfo.

The text is from its open source code.

Subclass

org.apache.shiro.authc.SimpleAuthenticationInfo has subclasses.
Click this link to see all its subclasses.

Constructor

SimpleAuthenticationInfo(Object principal, Object hashedCredentials, ByteSource credentialsSalt, String realmName)
Constructor that takes in a single 'primary' principal of the account, its corresponding hashed credentials, the salt used to hash the credentials, and the name of the realm to associate with the principals.
SimpleAuthenticationInfo(Object principal, Object credentials, String realmName)
Constructor that takes in a single 'primary' principal of the account and its corresponding credentials, associated with the specified realm.
SimpleAuthenticationInfo(PrincipalCollection principals, Object hashedCredentials, ByteSource credentialsSalt)
Constructor that takes in an account's identifying principal(s), hashed credentials used to verify the principals, and the salt used when hashing the credentials.
SimpleAuthenticationInfo()
Default no-argument constructor.
SimpleAuthenticationInfo(PrincipalCollection principals, Object credentials)
Constructor that takes in an account's identifying principal(s) and its corresponding credentials that verify the principals.

Method

ObjectgetCredentials()
ByteSourcegetCredentialsSalt()
Returns the salt used to hash the credentials, or null if no salt was used or credentials were not hashed at all.
PrincipalCollectiongetPrincipals()
voidsetCredentials(Object credentials)
Sets the credentials that verify the principals/identity of the associated Realm account.
voidsetCredentialsSalt(ByteSource salt)
Sets the salt used to hash the credentials, or null if no salt was used or credentials were not hashed at all.
voidsetPrincipals(PrincipalCollection principals)
Sets the identifying principal(s) represented by this instance.