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 voidauthFailure(BundleDescriptor bundleDesc, Endpoint endpoint, Principal principal)notification that a user authentication attempt has failed.voidauthSucess(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:
authSucessin interfaceAuthenticationListener
-
authFailure
public void authFailure(BundleDescriptor bundleDesc, Endpoint endpoint, Principal principal)
notification that a user authentication attempt has failed.- Specified by:
authFailurein interfaceAuthenticationListener- Parameters:
endpoint- the endpoint selectorprincipal- Optional principal that failed
-
-