public void bindToDelegationToken ( Token < DelegationTokenIdentifier > token ) throws IOException { validateAccessTokenProvider ( ) ; boundDT = token ; DelegationTokenIdentifier dti = extractIdentifier ( token ) ; logger . atInfo ( ) . log ( "Using delegation token %s" , dti ) ; // extract the credential providers. accessTokenProvider = tokenBinding . bindToTokenIdentifier ( dti ) ; }
Bind to a delegation token retrieved for this filesystem . Extract the secrets from the token and set internal fields to the values .