code: @Override
      public AuthenticationStatus notifyContainerAboutLogin(CredentialValidationResult result) {
          if (CredentialValidationResult.Status.VALID.equals(result.getStatus())) {
              this.result = result;
              return notifyContainerAboutLogin(result.getCallerPrincipal(), result.getCallerGroups());
          }
          return AuthenticationStatus.SEND_FAILURE;
      }
docs: /*
  (non-Javadoc)
  
  @see javax.security.enterprise.authentication.mechanism.http.HttpMessageContext#notifyContainerAboutLogin(javax.security.enterprise.identitystore.CredentialValidationResult)