net.customware.gwt.dispatch.shared.secure
Class SecureSessionResult

java.lang.Object
  extended by net.customware.gwt.dispatch.shared.secure.SecureSessionResult
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, Result

public class SecureSessionResult
extends Object
implements Result

Contains a valid secure session id. Any Action which returns this result will automatically have the specified session id updated as the current session id.

The SimpleAuthenticationAction class is an example of this, but more complex authentication requests could be created if required. Simply create a new action that has this class as its Result type. Eg:

 public class MyAuthenticationAction extends Action<SecureSessionResult> {
     private String domain;
 

private String username;

private String rsaToken; ///.... }

Then, create a handler on the server side, register it and

Author:
David Peterson
See Also:
SimpleAuthenticationAction

Constructor Summary
SecureSessionResult(String sessionId)
           
 
Method Summary
 String getSessionId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureSessionResult

public SecureSessionResult(String sessionId)
Method Detail

getSessionId

public String getSessionId()


Copyright © 2011 customware.net. All Rights Reserved.