An object implementing this interface is required to use any of the methods provided by the helpers API. The default implementation of this interface is {@link SlideTokenImpl SlideTokenImpl}. In the context of a Java servlet, such an object should be instantiated like this:
Principal principal = request.getUserPrincipal(); CredentialsToken credentials; if (principal == null) { credentials = new CredentialsToken(""); } else { credentials = new CredentialsToken(principal); } SlideToken token = new SlideTokenImpl(credentials);@author Remy Maucherat @version $Revision: 1.15.2.2 $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|