Package com.webmethods.caf.wsserver
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 TypeMethodDescriptionboolean
Whether this interceptor will allow anonymous accessboolean
get the authenticated DN (or uid for basic auth), or NULL if anonymous is allowedelectric.security.basic.BasicRealm
If IWSServerAuthInterceptor can be configured to allowBasic, then it must support instantiating one of thesevoid
setAllowAnonymous
(boolean allowAnonymous) Whether this interceptor will allow anonymous accessvoid
setAllowBasic
(boolean allowBasic) Whether to allow a fall back to basic authenticationMethods 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
-