SysSecurityHandlerpublic abstract class SecurityHandler
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static org.slf4j.Logger |
LOG |
| Constructor | Description |
|---|---|
SecurityHandler() |
| Modifier and Type | Method | Description |
|---|---|---|
int[] |
getAuxGids() |
Used by AUTH_SYS.
|
int |
getGid() |
Used by AUTH_SYS.
|
int |
getUid() |
Used by AUTH_SYS.
|
abstract java.lang.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 java.lang.String getUser()
public abstract boolean shouldSilentlyDrop(RpcCall request)
public abstract Verifier getVerifer(RpcCall request) throws java.io.IOException
java.io.IOExceptionpublic boolean isUnwrapRequired()
public boolean isWrapRequired()
public XDR unwrap(RpcCall request, byte[] data) throws java.io.IOException
request - RPC requestdata - request datajava.io.IOException - fail to unwrap RPC callpublic byte[] wrap(RpcCall request, XDR response) throws java.io.IOException
request - RPC requestresponse - RPC responsejava.io.IOException - fail to wrap RPC callpublic int getUid()
public int getGid()
public int[] getAuxGids()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.