Package org.jenkinsci.plugins.saml.user
Class LoginDetailsProperty
- java.lang.Object
-
- hudson.model.UserProperty
-
- org.jenkinsci.plugins.saml.user.LoginDetailsProperty
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<UserProperty>
,ReconfigurableDescribable<UserProperty>
public class LoginDetailsProperty extends UserProperty
Store details about create and login processes- Author:
- Kuisathaverat
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoginDetailsProperty.DescriptorImpl
static class
LoginDetailsProperty.SecurityListenerImpl
Listen to the login success/failure event to persistLoginDetailsProperty
s properly.-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.UserProperty
user
-
-
Constructor Summary
Constructors Constructor Description LoginDetailsProperty()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoginDetailsProperty
currentUserLoginDetails()
static void
currentUserSetLoginDetails()
String
getCreateDate()
long
getCreateTimestamp()
String
getLastLoginDate()
long
getLastLoginTimestamp()
long
getLoginCount()
UserProperty
reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form)
void
setCreateTimestamp(long createTimestamp)
void
setLastLoginTimestamp(long lastLoginTimestamp)
void
setLoginCount(long loginCount)
void
update()
-
Methods inherited from class hudson.model.UserProperty
all, getDescriptor, setUser
-
-
-
-
Method Detail
-
currentUserLoginDetails
public static LoginDetailsProperty currentUserLoginDetails()
-
currentUserSetLoginDetails
public static void currentUserSetLoginDetails()
-
update
public void update()
-
getCreateTimestamp
public long getCreateTimestamp()
-
getLastLoginTimestamp
public long getLastLoginTimestamp()
-
getCreateDate
public String getCreateDate()
-
getLastLoginDate
public String getLastLoginDate()
-
getLoginCount
public long getLoginCount()
-
setCreateTimestamp
public void setCreateTimestamp(long createTimestamp)
-
setLastLoginTimestamp
public void setLastLoginTimestamp(long lastLoginTimestamp)
-
setLoginCount
public void setLoginCount(long loginCount)
-
reconfigure
public UserProperty reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form)
- Specified by:
reconfigure
in interfaceReconfigurableDescribable<UserProperty>
- Overrides:
reconfigure
in classUserProperty
-
-