Class ConnectionLog
java.lang.Object
fr.paris.lutece.plugins.mylutece.authentication.logs.ConnectionLog
This class represents business object UserLog
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the login date of this user log.Returns the ip address of this connection log.intReturns the login status of this connection log.voidsetDateLogin(Timestamp dateLogin) Sets the login date of the connection log to the specified timestamp.voidsetIpAddress(String strIpAddress) Sets the ip address of the connection log to the specified string.voidsetLoginStatus(int nLoginStatus) Sets the login status of the connection log to the specified integer.
-
Field Details
-
LOGIN_OK
public static final int LOGIN_OK- See Also:
-
LOGIN_DENIED
public static final int LOGIN_DENIED- See Also:
-
LOGIN_DENIED_CANCELED
public static final int LOGIN_DENIED_CANCELED- See Also:
-
-
Constructor Details
-
ConnectionLog
public ConnectionLog()
-
-
Method Details
-
getIpAddress
Returns the ip address of this connection log.- Returns:
- the user ip address
-
setIpAddress
Sets the ip address of the connection log to the specified string.- Parameters:
strIpAddress- the new ip address
-
getDateLogin
Returns the login date of this user log.- Returns:
- the user date of login
-
setDateLogin
Sets the login date of the connection log to the specified timestamp.- Parameters:
dateLogin- the new date of login
-
getLoginStatus
public int getLoginStatus()Returns the login status of this connection log.- Returns:
- the user status of login
-
setLoginStatus
public void setLoginStatus(int nLoginStatus) Sets the login status of the connection log to the specified integer.- Parameters:
nLoginStatus- the new status of login
-