public abstract class AbstractAuthorizationPolicy extends Object implements org.apache.camel.spi.AuthorizationPolicy
| Constructor and Description |
|---|
AbstractAuthorizationPolicy() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
authorize(LoginContext context) |
void |
beforeWrap(org.apache.camel.spi.RouteContext routeContext,
org.apache.camel.model.ProcessorDefinition<?> definition) |
protected abstract LoginContext |
getLoginContext(String domain,
String username,
char[] password) |
org.apache.camel.Processor |
wrap(org.apache.camel.spi.RouteContext routeContext,
org.apache.camel.Processor processor) |
public void beforeWrap(org.apache.camel.spi.RouteContext routeContext,
org.apache.camel.model.ProcessorDefinition<?> definition)
beforeWrap in interface org.apache.camel.spi.Policypublic org.apache.camel.Processor wrap(org.apache.camel.spi.RouteContext routeContext,
org.apache.camel.Processor processor)
wrap in interface org.apache.camel.spi.Policyprotected void authorize(LoginContext context) throws LoginException
LoginExceptionprotected abstract LoginContext getLoginContext(String domain, String username, char[] password) throws LoginException
LoginExceptionCopyright © 2016. All rights reserved.