org.apache.hadoop.oncrpc.security
Class SecurityHandler
java.lang.Object
org.apache.hadoop.oncrpc.security.SecurityHandler
- Direct Known Subclasses:
- SysSecurityHandler
public abstract class SecurityHandler
- extends Object
|
Field Summary |
static org.apache.commons.logging.Log |
LOG
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
SecurityHandler
public SecurityHandler()
getUser
public abstract String getUser()
shouldSilentlyDrop
public abstract boolean shouldSilentlyDrop(RpcCall request)
getVerifer
public abstract Verifier getVerifer(RpcCall request)
throws IOException
- Throws:
IOException
isUnwrapRequired
public boolean isUnwrapRequired()
isWrapRequired
public boolean isWrapRequired()
unwrap
public XDR unwrap(RpcCall request,
byte[] data)
throws IOException
- Used by GSS
- Throws:
IOException
wrap
public byte[] wrap(RpcCall request,
XDR response)
throws IOException
- Used by GSS
- Throws:
IOException
getUid
public int getUid()
- Used by AUTH_SYS
getGid
public int getGid()
- Used by AUTH_SYS
Copyright © 2014 Apache Software Foundation. All Rights Reserved.