public class DefaultAuthenticationTokenFactory extends Object implements AuthenticationTokenFactory
AuthenticationTokenFactory interface that returns
UsernamePasswordToken instances based on inspecting the
ConnectionInfo.| Constructor and Description |
|---|
DefaultAuthenticationTokenFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.shiro.authc.AuthenticationToken |
getAuthenticationToken(SubjectConnectionReference conn)
Returns a new
UsernamePasswordToken instance populated based on the ConnectionInfo's
userName and
password properties. |
public DefaultAuthenticationTokenFactory()
public org.apache.shiro.authc.AuthenticationToken getAuthenticationToken(SubjectConnectionReference conn)
UsernamePasswordToken instance populated based on the ConnectionInfo's
userName and
password properties.getAuthenticationToken in interface AuthenticationTokenFactoryconn - the subject's connectionUsernamePasswordToken instance populated based on the ConnectionInfo's
ConnectionInfo's userName and
password properties.Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.