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>
Store details about create and login processes
- Author:
- Kuisathaverat
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic classListen to the login success/failure event to persistLoginDetailsPropertys properly.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.UserProperty
user -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LoginDetailsPropertystatic voidlonglonglongreconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject form) voidsetCreateTimestamp(long createTimestamp) voidsetLastLoginTimestamp(long lastLoginTimestamp) voidsetLoginCount(long loginCount) voidupdate()Methods inherited from class hudson.model.UserProperty
all, allByCategoryClass, getDescriptor, reconfigure, setUser
-
Constructor Details
-
LoginDetailsProperty
@DataBoundConstructor public LoginDetailsProperty()
-
-
Method Details
-
currentUserLoginDetails
-
currentUserSetLoginDetails
public static void currentUserSetLoginDetails() -
update
public void update() -
getCreateTimestamp
public long getCreateTimestamp() -
getLastLoginTimestamp
public long getLastLoginTimestamp() -
getCreateDate
-
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.StaplerRequest2 req, net.sf.json.JSONObject form) - Specified by:
reconfigurein interfaceReconfigurableDescribable<UserProperty>- Overrides:
reconfigurein classUserProperty
-