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 TypeMethodDescriptionint
compareTo
(UserSession usr2) Returns information about the IP address block.Returns the authenticated User associated with this session.(package private) String
Returns the HTTP session ID.Returns the User-Agent header.int
hashCode()
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:
compareTo
in interfaceComparable<UserSession>
-