Class WebServiceContext

java.lang.Object
com.appiancorp.services.AbstractServiceContext
com.appiancorp.services.WebServiceContext
All Implemented Interfaces:
com.appiancorp.asl3.servicefw.connect.ServiceContext, com.appiancorp.security.auth.SecurityContext, com.appiancorp.services.AuthorizationInterceptorProvider, KougarServiceContext, ServiceContext, Principal

public final class WebServiceContext extends AbstractServiceContext
Represents a service context that was obtained from the WebServiceContextFactory by sending it a session or request.
  • Method Details

    • getSession

      public javax.servlet.http.HttpSession getSession()
      Gets the session.
      Returns:
      the session
    • getIdentity

      public com.appiancorp.asl3.servicefw.connect.ASLIdentity getIdentity()
      Gets the identity.
      Returns:
      the ASLIdentity used to create the ServiceContext
    • isDesignatedForMigration

      public boolean isDesignatedForMigration()
      Description copied from interface: ServiceContext
      Whether this service context has been designated for migration of objects in the system.
      Returns:
      whether the service context is designated for migration
    • getAttribute

      public Object getAttribute(String key)
      Description copied from interface: ServiceContext
      Gets the attribute at the specified key.
      Specified by:
      getAttribute in interface com.appiancorp.asl3.servicefw.connect.ServiceContext
      Specified by:
      getAttribute in interface ServiceContext
      Overrides:
      getAttribute in class AbstractServiceContext
      Parameters:
      key - the key
      Returns:
      the attribute value
      See Also:
    • setAttribute

      public void setAttribute(String key, Object o)
      Description copied from interface: ServiceContext
      Sets the attribute at the specified key to the specified value.
      Specified by:
      setAttribute in interface com.appiancorp.asl3.servicefw.connect.ServiceContext
      Specified by:
      setAttribute in interface ServiceContext
      Overrides:
      setAttribute in class AbstractServiceContext
      Parameters:
      key - the key
      o - the value
      See Also: