public class AuthenticatedServerManager.TicketEvaluationWrapper extends Object
Constructor and Description |
---|
TicketEvaluationWrapper(String userId,
byte[] sessionKey,
rst.domotic.authentication.TicketAuthenticatorWrapperType.TicketAuthenticatorWrapper ticketAuthenticatorWrapper)
Create a new wrapper containing the updated ticket, the user id and the session key.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getSessionKey() |
rst.domotic.authentication.TicketAuthenticatorWrapperType.TicketAuthenticatorWrapper |
getTicketAuthenticatorWrapper() |
String |
getUserId() |
public TicketEvaluationWrapper(String userId, byte[] sessionKey, rst.domotic.authentication.TicketAuthenticatorWrapperType.TicketAuthenticatorWrapper ticketAuthenticatorWrapper)
userId
- The id of the user whose ticket was evaluated.sessionKey
- The session key of the session of the user whose ticket was evaluated.ticketAuthenticatorWrapper
- The updated ticket which should be send as a response to the client.public String getUserId()
public byte[] getSessionKey()
public rst.domotic.authentication.TicketAuthenticatorWrapperType.TicketAuthenticatorWrapper getTicketAuthenticatorWrapper()
Copyright © 2017–2018 openbase.org. All rights reserved.