Class AdminUISession
- java.lang.Object
-
- io.jans.configapi.core.model.adminui.AdminUISession
-
public class AdminUISession extends Object
-
-
Constructor Summary
Constructors Constructor Description AdminUISession()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)DategetCreationDate()The session's creation timestamp.StringgetDn()Gets the distinguished name (DN) for this entry.DategetExpirationDate()Gets the session's expiration timestamp.StringgetInum()Gets the inum identifier for this AdminUISession.StringgetJansUsrDN()User distinguished name associated with this admin UI session.StringgetSessionId()Session identifier for this admin UI session.StringgetUjwt()Gets the user JSON Web Token associated with this admin UI session.inthashCode()voidsetCreationDate(Date creationDate)Sets the session's creation timestamp.voidsetDn(String dn)Sets the distinguished name (DN) of this admin UI session entity.voidsetExpirationDate(Date expirationDate)Set the session's expiration timestamp.voidsetInum(String inum)Set the inum (identifier) for this AdminUISession.voidsetJansUsrDN(String jansUsrDN)Sets the distinguished name (DN) of the admin UI user associated with this session.voidsetSessionId(String sessionId)Sets the session identifier for this AdminUISession.voidsetUjwt(String ujwt)Sets the user JSON Web Token associated with this admin UI session.StringtoString()
-
-
-
Method Detail
-
getDn
public String getDn()
Gets the distinguished name (DN) for this entry.- Returns:
- the distinguished name (DN) of this data store entry
-
setDn
public void setDn(String dn)
Sets the distinguished name (DN) of this admin UI session entity.- Parameters:
dn- the distinguished name in the data store
-
getInum
public String getInum()
Gets the inum identifier for this AdminUISession.- Returns:
- the inum identifier
-
setInum
public void setInum(String inum)
Set the inum (identifier) for this AdminUISession.- Parameters:
inum- the inum value to assign; typically an immutable identifier used by the persistence layer
-
getSessionId
public String getSessionId()
Session identifier for this admin UI session.- Returns:
- the session identifier mapped to the `"sid"` attribute, or `null` if not set
-
setSessionId
public void setSessionId(String sessionId)
Sets the session identifier for this AdminUISession.- Parameters:
sessionId- the session identifier mapped to the "sid" attribute in the data store
-
getUjwt
public String getUjwt()
Gets the user JSON Web Token associated with this admin UI session.- Returns:
- the user JWT string, or
nullif not set
-
setUjwt
public void setUjwt(String ujwt)
Sets the user JSON Web Token associated with this admin UI session.- Parameters:
ujwt- the user JWT string to associate with the session
-
getCreationDate
public Date getCreationDate()
The session's creation timestamp. If not set explicitly, this value is initialized to the time the object was created.- Returns:
- the creation timestamp of the session
-
setCreationDate
public void setCreationDate(Date creationDate)
Sets the session's creation timestamp.- Parameters:
creationDate- the timestamp indicating when the admin UI session was created
-
getExpirationDate
public Date getExpirationDate()
Gets the session's expiration timestamp.- Returns:
- the expiration timestamp of the session, or
nullif not set
-
setExpirationDate
public void setExpirationDate(Date expirationDate)
Set the session's expiration timestamp.- Parameters:
expirationDate- the timestamp when the session expires
-
getJansUsrDN
public String getJansUsrDN()
User distinguished name associated with this admin UI session.- Returns:
- the user's distinguished name (DN), or
nullif not set
-
setJansUsrDN
public void setJansUsrDN(String jansUsrDN)
Sets the distinguished name (DN) of the admin UI user associated with this session.- Parameters:
jansUsrDN- the user's distinguished name to associate with the session
-
-