public abstract class SecurityHandler extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
SecurityHandler() |
Modifier and Type | Method and Description |
---|---|
int |
getGid()
Used by AUTH_SYS
|
int |
getUid()
Used by AUTH_SYS
|
abstract String |
getUser() |
abstract Verifier |
getVerifer(RpcCall request) |
boolean |
isUnwrapRequired() |
boolean |
isWrapRequired() |
abstract boolean |
shouldSilentlyDrop(RpcCall request) |
XDR |
unwrap(RpcCall request,
byte[] data)
Used by GSS
|
byte[] |
wrap(RpcCall request,
XDR response)
Used by GSS
|
public abstract String getUser()
public abstract boolean shouldSilentlyDrop(RpcCall request)
public abstract Verifier getVerifer(RpcCall request) throws IOException
IOException
public boolean isUnwrapRequired()
public boolean isWrapRequired()
public XDR unwrap(RpcCall request, byte[] data) throws IOException
IOException
public byte[] wrap(RpcCall request, XDR response) throws IOException
IOException
public int getUid()
public int getGid()
Copyright © 2013 Apache Software Foundation. All rights reserved.