public class SecuredHDFS
extends java.lang.Object
Constructor and Description |
---|
SecuredHDFS() |
Modifier and Type | Method and Description |
---|---|
static void |
verifyToken(ProtocolData protData,
javax.servlet.ServletContext context)
The function will get the token information from parameters and call
SecuredHDFS to verify the token.
|
public static void verifyToken(ProtocolData protData, javax.servlet.ServletContext context)
protData
- input parameterscontext
- servlet context which contains the NN addressjava.lang.SecurityException
- Thrown when authentication fails