Package org.alfresco.repo.remoteticket
Class GuestRemoteAlfrescoTicketImpl
- java.lang.Object
-
- org.alfresco.repo.remoteticket.AbstractRemoteAlfrescoTicketImpl
-
- org.alfresco.repo.remoteticket.GuestRemoteAlfrescoTicketImpl
-
- All Implemented Interfaces:
RemoteAlfrescoTicketInfo
public class GuestRemoteAlfrescoTicketImpl extends AbstractRemoteAlfrescoTicketImpl
An implementation ofRemoteAlfrescoTicketInfowhich authenticates as the Guest user- Since:
- 4.0.2
- Author:
- Nick Burch
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.remoteticket.AbstractRemoteAlfrescoTicketImpl
utf8
-
-
Constructor Summary
Constructors Constructor Description GuestRemoteAlfrescoTicketImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAsEscapedUrlParameters()Returns the Ticket as a URL Escaped Parameter fragment, which is the same as the un-escaped due to the format of Alfresco Ticketsjava.lang.StringgetAsUrlParameters()Returns the Ticket as a URL Parameter fragment, of the form "guest=true"org.alfresco.util.Pair<java.lang.String,java.lang.String>getAsUsernameAndPassword()Returns the Ticket in the form of a pseudo username and password.-
Methods inherited from class org.alfresco.repo.remoteticket.AbstractRemoteAlfrescoTicketImpl
getAsHTTPAuthorization
-
-
-
-
Method Detail
-
getAsUrlParameters
public java.lang.String getAsUrlParameters()
Returns the Ticket as a URL Parameter fragment, of the form "guest=true"- Specified by:
getAsUrlParametersin interfaceRemoteAlfrescoTicketInfo- Specified by:
getAsUrlParametersin classAbstractRemoteAlfrescoTicketImpl
-
getAsEscapedUrlParameters
public java.lang.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 org.alfresco.util.Pair<java.lang.String,java.lang.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
-
-