org.zeroexchange.security.token
Class LocalTokenInformer

java.lang.Object
  extended by org.zeroexchange.dao.HibernateSessionHolder
      extended by org.zeroexchange.security.token.LocalTokenInformer
All Implemented Interfaces:
DataProcessor, AuthTokenInformer<org.springframework.security.authentication.UsernamePasswordAuthenticationToken>

public class LocalTokenInformer
extends HibernateSessionHolder
implements AuthTokenInformer<org.springframework.security.authentication.UsernamePasswordAuthenticationToken>, DataProcessor

Author:
black

Constructor Summary
LocalTokenInformer()
           
 
Method Summary
 Credential getCredentials(org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication)
          Returns credentials by specified SS authentication.
 Class<?> getProcessingClass()
          Returns root hierarchy current processor can operate
 
Methods inherited from class org.zeroexchange.dao.HibernateSessionHolder
getSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalTokenInformer

public LocalTokenInformer()
Method Detail

getCredentials

public Credential getCredentials(org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication)
Returns credentials by specified SS authentication.

Specified by:
getCredentials in interface AuthTokenInformer<org.springframework.security.authentication.UsernamePasswordAuthenticationToken>

getProcessingClass

public Class<?> getProcessingClass()
Returns root hierarchy current processor can operate

Specified by:
getProcessingClass in interface DataProcessor


Copyright © 2013. All Rights Reserved.