Class SysSecurityHandler
java.lang.Object
org.apache.hadoop.oncrpc.security.SecurityHandler
org.apache.hadoop.oncrpc.security.SysSecurityHandler
-
Field Summary
Fields inherited from class org.apache.hadoop.oncrpc.security.SecurityHandler
LOG -
Constructor Summary
ConstructorsConstructorDescriptionSysSecurityHandler(CredentialsSys credentialsSys, IdMappingServiceProvider iug) -
Method Summary
Modifier and TypeMethodDescriptionint[]Used by AUTH_SYS.intgetGid()Used by AUTH_SYS.intgetUid()Used by AUTH_SYS.getUser()getVerifer(RpcCall request) booleanshouldSilentlyDrop(RpcCall request) Methods inherited from class org.apache.hadoop.oncrpc.security.SecurityHandler
isUnwrapRequired, isWrapRequired, unwrap, wrap
-
Constructor Details
-
SysSecurityHandler
-
-
Method Details
-
getUser
- Specified by:
getUserin classSecurityHandler
-
shouldSilentlyDrop
- Specified by:
shouldSilentlyDropin classSecurityHandler
-
getVerifer
- Specified by:
getVeriferin classSecurityHandler
-
getUid
public int getUid()Description copied from class:SecurityHandlerUsed by AUTH_SYS. Return the uid of the NFS user credential.- Overrides:
getUidin classSecurityHandler- Returns:
- uid
-
getGid
public int getGid()Description copied from class:SecurityHandlerUsed by AUTH_SYS. Return the gid of the NFS user credential.- Overrides:
getGidin classSecurityHandler- Returns:
- gid
-
getAuxGids
public int[] getAuxGids()Description copied from class:SecurityHandlerUsed by AUTH_SYS. Return the auxiliary gids of the NFS user credential.- Overrides:
getAuxGidsin classSecurityHandler- Returns:
- auxiliary gids
-