Class CXFEndpoint

java.lang.Object
pl.edu.icm.unity.engine.api.endpoint.AbstractEndpoint
pl.edu.icm.unity.engine.api.endpoint.AbstractWebEndpoint
pl.edu.icm.unity.ws.CXFEndpoint
All Implemented Interfaces:
pl.edu.icm.unity.engine.api.endpoint.EndpointInstance, pl.edu.icm.unity.engine.api.endpoint.WebAppEndpointInstance

public abstract class CXFEndpoint extends pl.edu.icm.unity.engine.api.endpoint.AbstractWebEndpoint implements pl.edu.icm.unity.engine.api.endpoint.WebAppEndpointInstance
Web service endpoint based on CXF
Author:
K. Benedyczak
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    protected pl.edu.icm.unity.MessageSource
     
    protected String
     
    protected pl.edu.icm.unity.engine.api.session.SessionManagement
     

    Fields inherited from class pl.edu.icm.unity.engine.api.endpoint.AbstractWebEndpoint

    advertisedAddrProvider, httpServer

    Fields inherited from class pl.edu.icm.unity.engine.api.endpoint.AbstractEndpoint

    authenticationFlows, description, properties
  • Constructor Summary

    Constructors
    Constructor
    Description
    CXFEndpoint(pl.edu.icm.unity.MessageSource msg, pl.edu.icm.unity.engine.api.session.SessionManagement sessionMan, pl.edu.icm.unity.engine.api.authn.AuthenticationProcessor authnProcessor, pl.edu.icm.unity.engine.api.server.NetworkServer server, pl.edu.icm.unity.engine.api.server.AdvertisedAddressProvider advertisedAddrProvider, String servletPath, pl.edu.icm.unity.engine.api.EntityManagement entityMan)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    addWebservice(Class<?> iface, Object impl)
     
    protected abstract void
     
    org.eclipse.jetty.servlet.ServletContextHandler
     
    void
     
    void
    updateAuthenticationFlows(List<pl.edu.icm.unity.engine.api.authn.AuthenticationFlow> authenticators)
     

    Methods inherited from class pl.edu.icm.unity.engine.api.endpoint.AbstractWebEndpoint

    destroy, destroyOverridable, getBaseUrl, getServletUrl, start, startOverridable

    Methods inherited from class pl.edu.icm.unity.engine.api.endpoint.AbstractEndpoint

    getAuthenticationFlows, getEndpointDescription, getSerializedConfiguration, initialize, setAuthenticators

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface pl.edu.icm.unity.engine.api.endpoint.EndpointInstance

    destroy, getAuthenticationFlows, getEndpointDescription, getSerializedConfiguration, initialize, start
  • Field Details

    • msg

      protected pl.edu.icm.unity.MessageSource msg
    • servletPath

      protected String servletPath
    • genericEndpointProperties

      protected CXFEndpointProperties genericEndpointProperties
    • sessionMan

      protected pl.edu.icm.unity.engine.api.session.SessionManagement sessionMan
  • Constructor Details

    • CXFEndpoint

      public CXFEndpoint(pl.edu.icm.unity.MessageSource msg, pl.edu.icm.unity.engine.api.session.SessionManagement sessionMan, pl.edu.icm.unity.engine.api.authn.AuthenticationProcessor authnProcessor, pl.edu.icm.unity.engine.api.server.NetworkServer server, pl.edu.icm.unity.engine.api.server.AdvertisedAddressProvider advertisedAddrProvider, String servletPath, pl.edu.icm.unity.engine.api.EntityManagement entityMan)
  • Method Details

    • setSerializedConfiguration

      public void setSerializedConfiguration(String cfg)
      Specified by:
      setSerializedConfiguration in class pl.edu.icm.unity.engine.api.endpoint.AbstractEndpoint
    • addWebservice

      protected void addWebservice(Class<?> iface, Object impl)
    • configureServices

      protected abstract void configureServices()
    • getServletContextHandler

      public org.eclipse.jetty.servlet.ServletContextHandler getServletContextHandler()
      Specified by:
      getServletContextHandler in interface pl.edu.icm.unity.engine.api.endpoint.WebAppEndpointInstance
    • updateAuthenticationFlows

      public void updateAuthenticationFlows(List<pl.edu.icm.unity.engine.api.authn.AuthenticationFlow> authenticators)
      Specified by:
      updateAuthenticationFlows in interface pl.edu.icm.unity.engine.api.endpoint.EndpointInstance