Interface IWSServerAuthInterceptor

All Superinterfaces:
electric.soap.ISOAPInterceptor
All Known Implementing Classes:
DefaultAuthInterceptor

public interface IWSServerAuthInterceptor extends electric.soap.ISOAPInterceptor
This interface describes an object that will be responsible for intercepting inbound webservice calls and providing authentication
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether this interceptor will allow anonymous access
    boolean
     
    get the authenticated DN (or uid for basic auth), or NULL if anonymous is allowed
    electric.security.basic.BasicRealm
    If IWSServerAuthInterceptor can be configured to allowBasic, then it must support instantiating one of these
    void
    setAllowAnonymous(boolean allowAnonymous)
    Whether this interceptor will allow anonymous access
    void
    setAllowBasic(boolean allowBasic)
    Whether to allow a fall back to basic authentication

    Methods inherited from interface electric.soap.ISOAPInterceptor

    intercept
  • Method Details

    • setAllowBasic

      void setAllowBasic(boolean allowBasic)
      Whether to allow a fall back to basic authentication
      Parameters:
      allowBasic - whether or not to allow fall back to basic auth
    • getAllowBasic

      boolean getAllowBasic()
      Returns:
      whether this allows basic auth
    • getAuthenticatedUserDN

      String getAuthenticatedUserDN()
      get the authenticated DN (or uid for basic auth), or NULL if anonymous is allowed
      Returns:
      the authenticated session user's DN or null if not authenticated
    • getAllowAnonymous

      boolean getAllowAnonymous()
      Whether this interceptor will allow anonymous access
    • setAllowAnonymous

      void setAllowAnonymous(boolean allowAnonymous)
      Whether this interceptor will allow anonymous access
    • getBasicRealm

      electric.security.basic.BasicRealm getBasicRealm()
      If IWSServerAuthInterceptor can be configured to allowBasic, then it must support instantiating one of these