private AuthToken parseAuthorizationToken ( String authHeader ) { try { String tokenEncoded = authHeader . substring ( 11 ) ; return AuthTokenUtil . consumeToken ( tokenEncoded ) ; } catch ( IllegalArgumentException e ) { // TODO log this error return null ; } }
Parses the Authorization request to retrieve the Base64 encoded auth token .