public class AuthenticationDetails extends Object
| Constructor and Description |
|---|
AuthenticationDetails(String userName,
String ticket,
String sessionId)
Constructor with deafault timeoutInterval = -1 (Tiket is never expired)
|
AuthenticationDetails(String userName,
String ticket,
String sessionId,
long timeoutInterval)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSessionId()
Gets the session id
|
String |
getTicket()
Gets the ticket
|
long |
getTimeoutInterval() |
String |
getUserName()
Gets the user name
|
boolean |
isTimedOut() |
void |
resetTimeoutInterval() |
void |
setTimeoutInterval(long timeoutInterval) |
public AuthenticationDetails(String userName, String ticket, String sessionId)
userName - the user nameticket - the ticketsessionId - the session idpublic String getUserName()
public String getTicket()
public String getSessionId()
public long getTimeoutInterval()
public void setTimeoutInterval(long timeoutInterval)
public final boolean isTimedOut()
public void resetTimeoutInterval()
Copyright © 2005–2014 Alfresco Software. All rights reserved.