@Immutable public class KerberosSchemeFactory extends Object implements AuthSchemeFactory, AuthSchemeProvider
AuthSchemeProvider
implementation that creates and initializes
KerberosScheme
instances.Constructor and Description |
---|
KerberosSchemeFactory() |
KerberosSchemeFactory(boolean stripPort) |
Modifier and Type | Method and Description |
---|---|
AuthScheme |
create(HttpContext context)
Creates an instance of
AuthScheme . |
boolean |
isStripPort() |
AuthScheme |
newInstance(HttpParams params)
Creates an instance of
AuthScheme using given HTTP parameters. |
public KerberosSchemeFactory(boolean stripPort)
public KerberosSchemeFactory()
public boolean isStripPort()
public AuthScheme newInstance(HttpParams params)
AuthSchemeFactory
AuthScheme
using given HTTP parameters.newInstance
in interface AuthSchemeFactory
params
- HTTP parameters.public AuthScheme create(HttpContext context)
AuthSchemeProvider
AuthScheme
.create
in interface AuthSchemeProvider
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.