|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface KeyProviderDelegationTokenExtension.DelegationTokenExtension
DelegationTokenExtension is a type of Extension that exposes methods to needed to work with Delegation Tokens.
Method Summary | |
---|---|
org.apache.hadoop.security.token.Token<?>[] |
addDelegationTokens(String renewer,
org.apache.hadoop.security.Credentials credentials)
The implementer of this class will take a renewer and add all delegation tokens associated with the renewer to the Credentials object if it is not already present, |
Method Detail |
---|
org.apache.hadoop.security.token.Token<?>[] addDelegationTokens(String renewer, org.apache.hadoop.security.Credentials credentials) throws IOException
Credentials
object if it is not already present,
renewer
- the user allowed to renew the delegation tokenscredentials
- cache in which to add new delegation tokens
IOException
- thrown if IOException if an IO error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |