Class AuthenticationBehavioralDataType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AuthenticationBehavioralDataType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
AbstractCredentialType
public class AuthenticationBehavioralDataType extends Object implements Serializable, Cloneable, Containerable
Behavioral data about past authentications.Java class for AuthenticationBehavioralDataType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AuthenticationBehavioralDataType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="failedLogins" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="lastSuccessfulLogin" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LoginEventType" minOccurs="0"/> <element name="previousSuccessfulLogin" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LoginEventType" minOccurs="0"/> <element name="lastFailedLogin" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LoginEventType" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_FAILED_LOGINS
static ItemName
F_LAST_FAILED_LOGIN
static ItemName
F_LAST_SUCCESSFUL_LOGIN
static ItemName
F_PREVIOUS_SUCCESSFUL_LOGIN
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description AuthenticationBehavioralDataType()
AuthenticationBehavioralDataType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_FAILED_LOGINS
public static final ItemName F_FAILED_LOGINS
-
F_LAST_SUCCESSFUL_LOGIN
public static final ItemName F_LAST_SUCCESSFUL_LOGIN
-
F_PREVIOUS_SUCCESSFUL_LOGIN
public static final ItemName F_PREVIOUS_SUCCESSFUL_LOGIN
-
F_LAST_FAILED_LOGIN
public static final ItemName F_LAST_FAILED_LOGIN
-
-
Constructor Detail
-
AuthenticationBehavioralDataType
public AuthenticationBehavioralDataType()
-
AuthenticationBehavioralDataType
public AuthenticationBehavioralDataType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
-
end
public <X> X end()
-
getFailedLogins
public Integer getFailedLogins()
-
setFailedLogins
public void setFailedLogins(Integer value)
-
getLastSuccessfulLogin
public LoginEventType getLastSuccessfulLogin()
-
setLastSuccessfulLogin
public void setLastSuccessfulLogin(LoginEventType value)
-
getPreviousSuccessfulLogin
public LoginEventType getPreviousSuccessfulLogin()
-
setPreviousSuccessfulLogin
public void setPreviousSuccessfulLogin(LoginEventType value)
-
getLastFailedLogin
public LoginEventType getLastFailedLogin()
-
setLastFailedLogin
public void setLastFailedLogin(LoginEventType value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
failedLogins
public AuthenticationBehavioralDataType failedLogins(Integer value)
-
lastSuccessfulLogin
public AuthenticationBehavioralDataType lastSuccessfulLogin(LoginEventType value)
-
beginLastSuccessfulLogin
public LoginEventType beginLastSuccessfulLogin()
-
previousSuccessfulLogin
public AuthenticationBehavioralDataType previousSuccessfulLogin(LoginEventType value)
-
beginPreviousSuccessfulLogin
public LoginEventType beginPreviousSuccessfulLogin()
-
lastFailedLogin
public AuthenticationBehavioralDataType lastFailedLogin(LoginEventType value)
-
beginLastFailedLogin
public LoginEventType beginLastFailedLogin()
-
id
public AuthenticationBehavioralDataType id(Long value)
-
clone
public AuthenticationBehavioralDataType clone()
-
-