Package com.sun.enterprise.security
Class SecurityConfigListener
java.lang.Object
com.sun.enterprise.security.SecurityConfigListener
- All Implemented Interfaces:
org.glassfish.hk2.api.PostConstruct
,org.jvnet.hk2.config.ConfigListener
@Service
@Singleton
public class SecurityConfigListener
extends Object
implements org.jvnet.hk2.config.ConfigListener, org.glassfish.hk2.api.PostConstruct
- Author:
- kumar.jayanti
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
auditModuleCreated
(com.sun.enterprise.config.serverbeans.AuditModule instance) New audit module created.void
auditModuleDeleted
(com.sun.enterprise.config.serverbeans.AuditModule instance) Audit module deleted.void
auditModuleUpdated
(com.sun.enterprise.config.serverbeans.AuditModule instance) Audit module updated (attributes change).static void
authRealmCreated
(com.sun.enterprise.config.serverbeans.AuthRealm instance) New auth realm created.static void
authRealmCreated
(com.sun.enterprise.config.serverbeans.Config config, com.sun.enterprise.config.serverbeans.AuthRealm instance) New auth realm created.static void
authRealmDeleted
(com.sun.enterprise.config.serverbeans.AuthRealm instance) Auth realm deleted.static void
authRealmDeleted
(com.sun.enterprise.config.serverbeans.Config config, com.sun.enterprise.config.serverbeans.AuthRealm instance) Auth realm deleted.void
authRealmUpdated
(com.sun.enterprise.config.serverbeans.AuthRealm instance) Auth realm updated (attributes change).void
authRealmUpdated
(com.sun.enterprise.config.serverbeans.Config config, com.sun.enterprise.config.serverbeans.AuthRealm instance) Auth realm updated (attributes change).org.jvnet.hk2.config.UnprocessedChangeEvents
changed
(PropertyChangeEvent[] events) Notification that @Configured objects that were injected have changedvoid
-
Constructor Details
-
SecurityConfigListener
public SecurityConfigListener()
-
-
Method Details
-
changed
Notification that @Configured objects that were injected have changed- Specified by:
changed
in interfaceorg.jvnet.hk2.config.ConfigListener
- Parameters:
events
- list of changes
-
authRealmCreated
public static void authRealmCreated(com.sun.enterprise.config.serverbeans.AuthRealm instance) New auth realm created. It is called whenever a AuthRealmEvent with action of AuthRealmEvent.ACTION_CREATE is received.- Throws:
AdminEventListenerException
- when the listener is unable to process the event.
-
authRealmCreated
public static void authRealmCreated(com.sun.enterprise.config.serverbeans.Config config, com.sun.enterprise.config.serverbeans.AuthRealm instance) New auth realm created. It is called whenever a AuthRealmEvent with action of AuthRealmEvent.ACTION_CREATE is received.- Throws:
AdminEventListenerException
- when the listener is unable to process the event.
-
authRealmDeleted
public static void authRealmDeleted(com.sun.enterprise.config.serverbeans.Config config, com.sun.enterprise.config.serverbeans.AuthRealm instance) Auth realm deleted. It is called whenever a AuthRealmEvent with action of AuthRealmEvent.ACTION_DELETE is received.- Throws:
AdminEventListenerException
- when the listener is unable to process the event.
-
authRealmDeleted
public static void authRealmDeleted(com.sun.enterprise.config.serverbeans.AuthRealm instance) Auth realm deleted. It is called whenever a AuthRealmEvent with action of AuthRealmEvent.ACTION_DELETE is received.- Throws:
AdminEventListenerException
- when the listener is unable to process the event.
-
authRealmUpdated
public void authRealmUpdated(com.sun.enterprise.config.serverbeans.AuthRealm instance) Auth realm updated (attributes change). It is called whenever a AuthRealmEvent with action of AuthRealmEvent.ACTION_UPDATE is received.- Throws:
AdminEventListenerException
- when the listener is unable to process the event.
-
authRealmUpdated
public void authRealmUpdated(com.sun.enterprise.config.serverbeans.Config config, com.sun.enterprise.config.serverbeans.AuthRealm instance) Auth realm updated (attributes change). It is called whenever a AuthRealmEvent with action of AuthRealmEvent.ACTION_UPDATE is received.- Throws:
AdminEventListenerException
- when the listener is unable to process the event.
-
postConstruct
public void postConstruct()- Specified by:
postConstruct
in interfaceorg.glassfish.hk2.api.PostConstruct
-
auditModuleCreated
public void auditModuleCreated(com.sun.enterprise.config.serverbeans.AuditModule instance) New audit module created. It is called whenever a AuditModuleEvent with action of AuditModuleEvent.ACTION_CREATE is received. -
auditModuleDeleted
public void auditModuleDeleted(com.sun.enterprise.config.serverbeans.AuditModule instance) Audit module deleted. It is called whenever a AuditModuleEvent with action of AuditModuleEvent.ACTION_DELETE is received. -
auditModuleUpdated
public void auditModuleUpdated(com.sun.enterprise.config.serverbeans.AuditModule instance) Audit module updated (attributes change). It is called whenever a AuditModuleEvent with action of AuditModuleEvent.ACTION_UPDATE is received.
-