code: @Override
      public Subject authenticate(@Sensitive byte[] tokenBytes) throws AuthenticationException {
          AuthenticationData authenticationData = createAuthenticationData(tokenBytes);
          return authenticationService.authenticate(jaasEntryName, authenticationData, null);
      }
docs: Authenticate with token bytes.
  
  @param tokenBytes
  @return The authenticated subject.