public class AuthenticationServiceRestClient extends AbstractProfileRestClientBase implements AuthenticationService
AuthenticationService.accessTokenIdResolver| Constructor and Description |
|---|
AuthenticationServiceRestClient() |
| Modifier and Type | Method and Description |
|---|---|
Ticket |
authenticate(String tenantName,
String username,
String password) |
Ticket |
createTicket(String profileId) |
Ticket |
getTicket(String ticketId) |
void |
invalidateTicket(String ticketId) |
createBaseParams, doGetForObject, doGetForObject, doGetForObject, doGetForObject, doPostForLocation, doPostForObject, getAbsoluteUrlWithAccessTokenIdParam, handleException, handleRestServiceException, setAccessTokenIdResolverpublic Ticket authenticate(String tenantName, String username, String password) throws ProfileException
authenticate in interface AuthenticationServiceProfileExceptionpublic Ticket createTicket(String profileId) throws ProfileException
createTicket in interface AuthenticationServiceProfileExceptionpublic Ticket getTicket(String ticketId) throws ProfileException
getTicket in interface AuthenticationServiceProfileExceptionpublic void invalidateTicket(String ticketId) throws ProfileException
invalidateTicket in interface AuthenticationServiceProfileExceptionCopyright © 2015 CrafterCMS. All Rights Reserved.