public Principal authenticate ( List < String > authHeader ) throws AuthException { if ( isAuthEnabled ( ) ) { String credentials = parseCredentials ( authHeader ) ; return pravegaAuthManager . authenticate ( credentials ) ; } return null ; }
Authenticates the subject represented by the specified HTTP Authorization Header value .