net.stepniak.api.auth
Class SessionStore

java.lang.Object
  extended by net.stepniak.api.auth.SessionStore

@Component
public class SessionStore
extends Object


Constructor Summary
SessionStore()
           
SessionStore(SessionRepository sessionStorage)
           
 
Method Summary
 SessionEntity create(KeyEntity keyEntity, UserEntity userEntity, String remoteAddr, String forwardedFor)
           
 SessionEntity find(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionStore

public SessionStore()

SessionStore

@Autowired
public SessionStore(SessionRepository sessionStorage)
Method Detail

create

@Transactional
public SessionEntity create(KeyEntity keyEntity,
                                          UserEntity userEntity,
                                          String remoteAddr,
                                          String forwardedFor)
                     throws NoSuchAlgorithmException
Throws:
NoSuchAlgorithmException

find

public SessionEntity find(String id)


Copyright © 2013. All Rights Reserved.