public class DefaultAuthenticationTokenFactory extends Object implements AuthenticationTokenFactory
AuthenticationTokenFactory
interface that returns
UsernamePasswordToken
instances based on inspecting the
ConnectionInfo
.Constructor and Description |
---|
DefaultAuthenticationTokenFactory() |
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 AuthenticationTokenFactory
conn
- the subject's connectionUsernamePasswordToken
instance populated based on the ConnectionInfo's
ConnectionInfo's userName
and
password
properties.Copyright © 2005–2015 FuseSource, Corp.. All rights reserved.