Package org.alfresco.repo.remoteticket
Class AlfTicketRemoteAlfrescoTicketImpl
- java.lang.Object
-
- org.alfresco.repo.remoteticket.AbstractRemoteAlfrescoTicketImpl
-
- org.alfresco.repo.remoteticket.AlfTicketRemoteAlfrescoTicketImpl
-
- All Implemented Interfaces:
RemoteAlfrescoTicketInfo
public class AlfTicketRemoteAlfrescoTicketImpl extends AbstractRemoteAlfrescoTicketImpl
An implementation ofRemoteAlfrescoTicketInfowhich works with the regular Alfresco alf_ticket ticket system- Since:
- 4.0.2
- Author:
- Nick Burch
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.remoteticket.AbstractRemoteAlfrescoTicketImpl
utf8
-
-
Constructor Summary
Constructors Constructor Description AlfTicketRemoteAlfrescoTicketImpl(String ticket)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAsEscapedUrlParameters()Returns the Ticket as a URL Escaped Parameter fragment, which is the same as the un-escaped due to the format of Alfresco TicketsStringgetAsUrlParameters()Returns the Ticket as a URL Parameter fragment, of the form "alf_ticket=XXXX"Pair<String,String>getAsUsernameAndPassword()Returns the Ticket in the form of a pseudo username and password.StringtoString()-
Methods inherited from class org.alfresco.repo.remoteticket.AbstractRemoteAlfrescoTicketImpl
getAsHTTPAuthorization
-
-
-
-
Constructor Detail
-
AlfTicketRemoteAlfrescoTicketImpl
public AlfTicketRemoteAlfrescoTicketImpl(String ticket)
-
-
Method Detail
-
getAsUrlParameters
public String getAsUrlParameters()
Returns the Ticket as a URL Parameter fragment, of the form "alf_ticket=XXXX"- Specified by:
getAsUrlParametersin interfaceRemoteAlfrescoTicketInfo- Specified by:
getAsUrlParametersin classAbstractRemoteAlfrescoTicketImpl
-
getAsEscapedUrlParameters
public String getAsEscapedUrlParameters()
Returns the Ticket as a URL Escaped Parameter fragment, which is the same as the un-escaped due to the format of Alfresco Tickets- Specified by:
getAsEscapedUrlParametersin interfaceRemoteAlfrescoTicketInfo- Overrides:
getAsEscapedUrlParametersin classAbstractRemoteAlfrescoTicketImpl
-
getAsUsernameAndPassword
public Pair<String,String> getAsUsernameAndPassword()
Returns the Ticket in the form of a pseudo username and password. The Username is a special ticket identifier, and the password is the ticket- Specified by:
getAsUsernameAndPasswordin interfaceRemoteAlfrescoTicketInfo- Specified by:
getAsUsernameAndPasswordin classAbstractRemoteAlfrescoTicketImpl
-
-