Hello Everyone!I am creating a web script to get alfresco session ticket.When i call that web script without user authentication it was giving me error like net.sf.acegisecurity.AuthenticationCredentialsNotFoundException - A valid SecureContext was not provided in the RequestContext.Is there anyway to avoid this exception?for e.g
<webscript>
<shortname>Get Alfresco User Ticket</shortname>
<description>This method is used to get userinformation ticket.</description>
<url>/alfresco/user/ticket</url>
<authentication>user</authentication>
<transaction>required</transaction>
<format default="json">extension</format>
</webscript>
if i use the above description file it is not provide me any exception.But if I use the webscript like below it will provide me error.Is there any way to avoid valid security Exception?
<webscript>
<shortname>Get Alfresco User Ticket</shortname>
<description>This method is used to get useri nformation ticket.</description>
<url>/alfresco/user/ticket</url>
<format default="json">extension</format>
</webscript>
Please reply if any one have any idea.Thanks.