Package org.alfresco.rest.api.impl
Class AuthenticationsImpl
- java.lang.Object
-
- org.alfresco.rest.api.impl.AuthenticationsImpl
-
- All Implemented Interfaces:
Authentications
public class AuthenticationsImpl extends java.lang.Object implements Authentications
- Author:
- Jamal Kaabi-Mofrad
-
-
Constructor Summary
Constructors Constructor Description AuthenticationsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoginTicketResponse
createTicket(LoginTicket loginRequest, Parameters parameters)
void
deleteTicket(java.lang.String me, Parameters parameters, WithResponse withResponse)
protected java.lang.String
getTicket(Parameters parameters)
void
init()
void
setAuthenticationService(org.alfresco.service.cmr.security.AuthenticationService authenticationService)
void
setTicketComponent(org.alfresco.repo.security.authentication.TicketComponent ticketComponent)
protected void
validateLoginRequest(LoginTicket loginTicket)
LoginTicketResponse
validateTicket(java.lang.String me, Parameters parameters, WithResponse withResponse)
-
-
-
Method Detail
-
setAuthenticationService
public void setAuthenticationService(org.alfresco.service.cmr.security.AuthenticationService authenticationService)
-
setTicketComponent
public void setTicketComponent(org.alfresco.repo.security.authentication.TicketComponent ticketComponent)
-
init
public void init()
-
createTicket
public LoginTicketResponse createTicket(LoginTicket loginRequest, Parameters parameters)
- Specified by:
createTicket
in interfaceAuthentications
-
validateTicket
public LoginTicketResponse validateTicket(java.lang.String me, Parameters parameters, WithResponse withResponse)
- Specified by:
validateTicket
in interfaceAuthentications
-
deleteTicket
public void deleteTicket(java.lang.String me, Parameters parameters, WithResponse withResponse)
- Specified by:
deleteTicket
in interfaceAuthentications
-
validateLoginRequest
protected void validateLoginRequest(LoginTicket loginTicket)
-
getTicket
protected java.lang.String getTicket(Parameters parameters)
-
-