org.glassfish.webservices.monitoring
Interface AuthenticationListener

All Known Implementing Classes:
LogAuthenticationListener

public interface AuthenticationListener

This interface allows to register interest in authentication events in the web service container.

Author:
Jerome Dochez

Method Summary
 void authFailure(BundleDescriptor desc, Endpoint endpoint, java.security.Principal principal)
          notification that a user authentication attempt has failed.
 void authSucess(BundleDescriptor desc, Endpoint endpoint, java.security.Principal principal)
          notification that a user properly authenticated while making a web service invocation.
 

Method Detail

authSucess

void authSucess(BundleDescriptor desc,
                Endpoint endpoint,
                java.security.Principal principal)
notification that a user properly authenticated while making a web service invocation.


authFailure

void authFailure(BundleDescriptor desc,
                 Endpoint endpoint,
                 java.security.Principal principal)
notification that a user authentication attempt has failed.

Parameters:
endpoint - the endpoint selector
principal - Optional principal that failed


Copyright © 2012 GlassFish Community. All Rights Reserved.