|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.commons.protocol.auth.AuthTicketData
public class AuthTicketData
An immutable ticket container. Used as a temporary storage for ticket data and associated metadata.
Constructor Summary | |
---|---|
AuthTicketData(byte[] ticketBytes,
boolean GSSTicket)
|
|
AuthTicketData(byte[] ticketBytes,
java.lang.String servicePrincipalName,
boolean GSSTicket)
|
|
AuthTicketData(byte[] ticketBytes,
java.lang.String servicePrincipalName,
java.lang.String userPrincipalName,
boolean GSSTicket)
|
|
AuthTicketData(byte[] ticketBytes,
java.lang.String servicePrincipalName,
java.lang.String userPrincipalName,
java.util.Date authTime,
java.util.Date startTime,
java.util.Date endTime,
java.util.Date renewTill,
boolean GSSTicket)
|
Method Summary | |
---|---|
java.util.Date |
getAuthTime()
Gets the time that the client was authenticated. |
java.util.Date |
getEndTime()
Gets the expiration time for this ticket's validity period. |
java.util.Date |
getRenewTill()
Gets the latest expiration time for this ticket, including all renewals. |
java.lang.String |
getServicePrincipalName()
Gets Service Principal Name (SPN) associated with this ticket. |
java.util.Date |
getStartTime()
Gets the start time for this ticket's validity period. |
byte[] |
getTicketBytes()
Gets Authentication ticket data, which is to be sent to server side. |
java.lang.String |
getTicketHex()
Gets Hexadecimal uppercase string representation of ticket data. |
java.lang.String |
getUserPrincipalName()
Gets User Principal Name (UPN) associated with this ticket. |
boolean |
isGSSTicket()
Determines whether Kerberos ticket is wrapped by GSS. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthTicketData(byte[] ticketBytes, boolean GSSTicket)
public AuthTicketData(byte[] ticketBytes, java.lang.String servicePrincipalName, boolean GSSTicket)
public AuthTicketData(byte[] ticketBytes, java.lang.String servicePrincipalName, java.lang.String userPrincipalName, boolean GSSTicket)
public AuthTicketData(byte[] ticketBytes, java.lang.String servicePrincipalName, java.lang.String userPrincipalName, java.util.Date authTime, java.util.Date startTime, java.util.Date endTime, java.util.Date renewTill, boolean GSSTicket)
Method Detail |
---|
public java.lang.String getUserPrincipalName()
AuthTicket
getUserPrincipalName
in interface AuthTicket
public java.lang.String getServicePrincipalName()
AuthTicket
getServicePrincipalName
in interface AuthTicket
public byte[] getTicketBytes()
AuthTicket
getTicketBytes
in interface AuthTicket
public java.lang.String getTicketHex()
AuthTicket
getTicketHex
in interface AuthTicket
public java.util.Date getAuthTime()
AuthTicket
getAuthTime
in interface AuthTicket
public java.util.Date getStartTime()
AuthTicket
getStartTime
in interface AuthTicket
public java.util.Date getEndTime()
AuthTicket
getEndTime
in interface AuthTicket
public java.util.Date getRenewTill()
AuthTicket
getRenewTill
in interface AuthTicket
public boolean isGSSTicket()
AuthTicketGSSSupport
isGSSTicket
in interface AuthTicketGSSSupport
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |