public class DefaultAuthenticationTokenFactory extends java.lang.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)
|
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-2014 Red Hat, Inc.. All Rights Reserved.