net.stepniak.api.auth.entity
Class SessionEntity

java.lang.Object
  extended by net.stepniak.api.auth.entity.BaseAuthEntity<String>
      extended by net.stepniak.api.auth.entity.SessionEntity
All Implemented Interfaces:
net.stepniak.api.entities.Pojo

@Entity
public class SessionEntity
extends BaseAuthEntity<String>
implements net.stepniak.api.entities.Pojo


Field Summary
 String forwardedFor
           
 KeyEntity keyLogic
           
 String remoteAddress
           
 
Constructor Summary
SessionEntity()
           
SessionEntity(String sessId, KeyEntity keyEntity)
           
 
Method Summary
 Date getExpiration()
           
 String getForwardedFor()
           
 String getId()
           
 net.stepniak.common.pojos.auth.v1.Session getPojos()
           
 String getRemoteAddress()
           
 UserEntity getUserEntity()
           
 void setCreationDate(Date creationDate)
           
 void setForwardedFor(String clientForwarderFor)
           
 void setId(String id)
           
 void setRemoteAddress(String clientIp)
           
 void setUserEntity(UserEntity userEntity)
           
 
Methods inherited from class net.stepniak.api.auth.entity.BaseAuthEntity
equals, getCreationDate, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyLogic

public KeyEntity keyLogic

remoteAddress

public String remoteAddress

forwardedFor

public String forwardedFor
Constructor Detail

SessionEntity

public SessionEntity(String sessId,
                     KeyEntity keyEntity)

SessionEntity

public SessionEntity()
Method Detail

getExpiration

public Date getExpiration()

getPojos

public net.stepniak.common.pojos.auth.v1.Session getPojos()
Specified by:
getPojos in interface net.stepniak.api.entities.Pojo

setCreationDate

public void setCreationDate(Date creationDate)
Overrides:
setCreationDate in class BaseAuthEntity<String>

setUserEntity

public void setUserEntity(UserEntity userEntity)

getUserEntity

public UserEntity getUserEntity()

getRemoteAddress

public String getRemoteAddress()

setRemoteAddress

public void setRemoteAddress(String clientIp)

getForwardedFor

public String getForwardedFor()

setForwardedFor

public void setForwardedFor(String clientForwarderFor)

getId

public String getId()
Specified by:
getId in class BaseAuthEntity<String>

setId

public void setId(String id)
Specified by:
setId in class BaseAuthEntity<String>


Copyright © 2013. All Rights Reserved.