Class UserSession
java.lang.Object
org.deltava.security.UserSession
- All Implemented Interfaces:
Serializable,Comparable<UserSession>
A bean to store data about a User session.
- Since:
- 1.0
- Version:
- 9.0
- Author:
- Luke
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUserSession(Pilot p, String sessionID, IPBlock addrInfo, String userAgent) Creates a new User session bean. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(UserSession usr2) Returns information about the IP address block.Returns the authenticated User associated with this session.(package private) StringReturns the HTTP session ID.Returns the User-Agent header.inthashCode()toString()
-
Constructor Details
-
UserSession
-
-
Method Details
-
getPerson
Returns the authenticated User associated with this session.- Returns:
- the Person
-
getSessionID
-
getAddressInfo
Returns information about the IP address block.- Returns:
- an IPBlock bean
-
getUserAgent
-
hashCode
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<UserSession>
-