org.eclipse.higgins.rp.servlet.impl
Class SessionContextImpl

java.lang.Object
  extended byorg.eclipse.higgins.rp.servlet.impl.SessionContextImpl
All Implemented Interfaces:
Serializable, org.eclipse.higgins.rp.SessionContext

public class SessionContextImpl
extends Object
implements org.eclipse.higgins.rp.SessionContext, Serializable

See Also:
Serialized Form

Field Summary
static String authenticationStore
           
 
Constructor Summary
SessionContextImpl(javax.servlet.http.HttpSession httpsession)
           
SessionContextImpl(String origUri, javax.servlet.http.HttpSession httpsession)
           
 
Method Summary
 boolean attributeExists(String attribute)
           
 boolean attributeExists(String authContext, String attribute)
           
 void deleteAttribute(String attribute)
           
 void deleteAttribute(String authContext, String attribute)
           
 String getCurrentRequestUrl()
           
 String getProtectedResource()
           
 String getRealPath(String path)
           
 Object retrieveAttribute(String attribute)
           
 Object retrieveAttribute(String authContext, String attribute)
           
 String setProtectedResource(String rsrc)
           
 int storeAttribute(String attribute, Object value)
           
 int storeAttribute(String authContext, String attribute, Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

authenticationStore

public static final String authenticationStore
See Also:
Constant Field Values
Constructor Detail

SessionContextImpl

public SessionContextImpl(String origUri,
                          javax.servlet.http.HttpSession httpsession)

SessionContextImpl

public SessionContextImpl(javax.servlet.http.HttpSession httpsession)
Method Detail

retrieveAttribute

public Object retrieveAttribute(String attribute)
Specified by:
retrieveAttribute in interface org.eclipse.higgins.rp.SessionContext

retrieveAttribute

public Object retrieveAttribute(String authContext,
                                String attribute)
Specified by:
retrieveAttribute in interface org.eclipse.higgins.rp.SessionContext

storeAttribute

public int storeAttribute(String attribute,
                          Object value)
Specified by:
storeAttribute in interface org.eclipse.higgins.rp.SessionContext

storeAttribute

public int storeAttribute(String authContext,
                          String attribute,
                          Object value)
Specified by:
storeAttribute in interface org.eclipse.higgins.rp.SessionContext

attributeExists

public boolean attributeExists(String attribute)
Specified by:
attributeExists in interface org.eclipse.higgins.rp.SessionContext

attributeExists

public boolean attributeExists(String authContext,
                               String attribute)
Specified by:
attributeExists in interface org.eclipse.higgins.rp.SessionContext

deleteAttribute

public void deleteAttribute(String attribute)
Specified by:
deleteAttribute in interface org.eclipse.higgins.rp.SessionContext

deleteAttribute

public void deleteAttribute(String authContext,
                            String attribute)
Specified by:
deleteAttribute in interface org.eclipse.higgins.rp.SessionContext

getProtectedResource

public String getProtectedResource()
Specified by:
getProtectedResource in interface org.eclipse.higgins.rp.SessionContext

setProtectedResource

public String setProtectedResource(String rsrc)
Specified by:
setProtectedResource in interface org.eclipse.higgins.rp.SessionContext

getCurrentRequestUrl

public String getCurrentRequestUrl()
Specified by:
getCurrentRequestUrl in interface org.eclipse.higgins.rp.SessionContext

getRealPath

public String getRealPath(String path)
Specified by:
getRealPath in interface org.eclipse.higgins.rp.SessionContext