org.apache.abdera.security.util.filters
Class DHEncryptedRequestFilter
java.lang.Object
org.apache.abdera.security.util.filters.AbstractEncryptedRequestFilter
org.apache.abdera.security.util.filters.DHEncryptedRequestFilter
- All Implemented Interfaces:
- Filter
public class DHEncryptedRequestFilter
- extends AbstractEncryptedRequestFilter
A filter implementation that allows requests to be encrypted using Diffie-Hellman key negotiation. A client first
uses GET/HEAD/OPTIONS to get the servers DH information, then sends an encrypted request containing it's DH
information. The server can then decrypt and process the request. Note: this is currently untested.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DHEncryptedRequestFilter
public DHEncryptedRequestFilter()
DHEncryptedRequestFilter
public DHEncryptedRequestFilter(String... methods)
bootstrap
public void bootstrap(RequestContext request)
- Specified by:
bootstrap
in class AbstractEncryptedRequestFilter
filter
public ResponseContext filter(RequestContext request,
FilterChain chain)
- Description copied from interface:
Filter
- Process the filter request. The filter must call chain.next(request) to pass the request on to the next filter or
the provider.
- Specified by:
filter
in interface Filter
- Overrides:
filter
in class AbstractEncryptedRequestFilter
initArg
protected Object initArg(RequestContext request)
- Specified by:
initArg
in class AbstractEncryptedRequestFilter
initEncryptionOptions
protected EncryptionOptions initEncryptionOptions(RequestContext request,
Encryption encryption,
Object arg)
- Specified by:
initEncryptionOptions
in class AbstractEncryptedRequestFilter
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.