Class LogAuthenticationListener
- java.lang.Object
-
- org.glassfish.webservices.monitoring.LogAuthenticationListener
-
- All Implemented Interfaces:
AuthenticationListener
public class LogAuthenticationListener extends Object implements AuthenticationListener
Log all authentication successes and failures.- Author:
- Jerome Dochez
-
-
Constructor Summary
Constructors Constructor Description LogAuthenticationListener()
Creates a new instance of LogAuthenticationListener
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
authFailure(BundleDescriptor bundleDesc, Endpoint endpoint, Principal principal)
notification that a user authentication attempt has failed.void
authSucess(BundleDescriptor bundleDesc, Endpoint endpoint, Principal principal)
notification that a user properly authenticated while making a web service invocation.
-
-
-
Method Detail
-
authSucess
public void authSucess(BundleDescriptor bundleDesc, Endpoint endpoint, Principal principal)
notification that a user properly authenticated while making a web service invocation.- Specified by:
authSucess
in interfaceAuthenticationListener
-
authFailure
public void authFailure(BundleDescriptor bundleDesc, Endpoint endpoint, Principal principal)
notification that a user authentication attempt has failed.- Specified by:
authFailure
in interfaceAuthenticationListener
- Parameters:
endpoint
- the endpoint selectorprincipal
- Optional principal that failed
-
-