org.apache.geronimo.security.jaspi
Class ServerAuthModuleGBean

java.lang.Object
  extended by org.apache.geronimo.security.jaspi.ServerAuthModuleGBean
All Implemented Interfaces:
GBeanLifecycle

@GBean
public class ServerAuthModuleGBean
extends Object
implements GBeanLifecycle

Holds a bit of xml configuring an AuthConfigProvider, [Client|Server][AuthConfig|AuthContext|AuthModule] and registers/unregisters it when start/stopped.

Version:
$Rev: 939811 $ $Date: 2010-05-01 04:44:31 +0800 (Sat, 01 May 2010) $

Constructor Summary
ServerAuthModuleGBean(String messageLayer, String appContext, String authenticationID, String config)
           
 
Method Summary
 void doFail()
          Fails the GBean.
 void doStart()
          Starts the GBean.
 void doStop()
          Stops the target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerAuthModuleGBean

public ServerAuthModuleGBean(@ParamAttribute(name="messageLayer")
                             String messageLayer,
                             @ParamAttribute(name="appContext")
                             String appContext,
                             @ParamAttribute(name="authenticationID")
                             String authenticationID,
                             @ParamAttribute(name="config")
                             String config)
                      throws org.apache.geronimo.components.jaspi.ConfigException
Throws:
org.apache.geronimo.components.jaspi.ConfigException
Method Detail

doStart

public void doStart()
             throws Exception
Starts the GBean. This informs the GBean that it is about to transition to the running state.

Specified by:
doStart in interface GBeanLifecycle
Throws:
Exception - if the target failed to start; this will cause a transition to the failed state

doStop

public void doStop()
            throws Exception
Stops the target. This informs the GBean that it is about to transition to the stopped state.

Specified by:
doStop in interface GBeanLifecycle
Throws:
Exception - if the target failed to stop; this will cause a transition to the failed state

doFail

public void doFail()
Fails the GBean. This informs the GBean that it is about to transition to the failed state.

Specified by:
doFail in interface GBeanLifecycle


Copyright © 2003-2011 The Apache Geronimo development community. All Rights Reserved.