[jboss-cvs] JBossAS SVN: r62459 - projects/security/security-jboss-sx/trunk/src/main/org/jboss/security/plugins.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Apr 21 02:34:53 EDT 2007


Author: anil.saldhana at jboss.com
Date: 2007-04-21 02:34:53 -0400 (Sat, 21 Apr 2007)
New Revision: 62459

Removed:
   projects/security/security-jboss-sx/trunk/src/main/org/jboss/security/plugins/JASPISecurityManagerServiceMBean.java
Log:
remove jaspi prototype as these will be present in the authentication managers

Deleted: projects/security/security-jboss-sx/trunk/src/main/org/jboss/security/plugins/JASPISecurityManagerServiceMBean.java
===================================================================
--- projects/security/security-jboss-sx/trunk/src/main/org/jboss/security/plugins/JASPISecurityManagerServiceMBean.java	2007-04-21 06:34:43 UTC (rev 62458)
+++ projects/security/security-jboss-sx/trunk/src/main/org/jboss/security/plugins/JASPISecurityManagerServiceMBean.java	2007-04-21 06:34:53 UTC (rev 62459)
@@ -1,145 +0,0 @@
-/*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
-package org.jboss.security.plugins; 
-
-import java.security.Principal;
-
-import org.jboss.security.AuthenticationManager;
-import org.jboss.security.GeneralizedAuthenticationManager;
-import org.jboss.security.SecurityDomain;
-import org.jboss.system.ServiceMBean;
-
-//$Id$
-
-/**
- *  Management interface for the JASPISecurityManagerService MBean
- *  @author <a href="mailto:Anil.Saldhana at jboss.org">Anil Saldhana</a>
- *  @since  Jan 3, 2006 
- *  @version $Revision$
- */
-public interface JASPISecurityManagerServiceMBean
-extends ServiceMBean, GeneralizedAuthenticationManager
-{
-   /**
-    * A flag indicating if the SecurityAssociation.setServer should be called
-    * on service startup.
-    * @return the SecurityAssociation.setServer flag.
-    */
-   public boolean getServerMode();
-   
-   /**
-    * The SecurityAssociation server mode flag.
-    * 
-    * @param flag -  A flag indicating if the SecurityAssociation.setServer
-    * should be called on service startup.
-    */
-   public void setServerMode(boolean flag);
-
-   /**
-    * Get the name of the class that provides the security manager implementation.
-    */
-   String getSecurityManagerClassName();
-   
-   /**
-    * Set the name of the class that provides the security manager implementation.
-    * 
-    * @exception ClassNotFoundException thrown if the className cannot be found
-    * using the thread context class loader.
-    * @exception ClassCastException thrown if the className does not implement the
-    * org.jboss.security.AuthenticationManager interface.
-    */
-   void setSecurityManagerClassName(String className)
-      throws ClassNotFoundException, ClassCastException;
-   
-   /**
-    * Get the name of the class that provides the SecurityProxyFactory implementation.
-    */
-   String getSecurityProxyFactoryClassName();
-   
-   /**
-    * Set the name of the class that provides the SecurityProxyFactory implementation.
-    */
-   void setSecurityProxyFactoryClassName(String className)
-      throws ClassNotFoundException;
-   
-   /** Get the default CallbackHandler implementation class name
-    *
-    * @return The fully qualified classname of the
-    */
-   public String getCallbackHandlerClassName();
-   /** Set the default CallbackHandler implementation class name
-    * @see javax.security.auth.callback.CallbackHandler
-    */
-   public void setCallbackHandlerClassName(String className)
-      throws ClassNotFoundException; 
-
-   /**
-    * Register a SecurityDomain implmentation
-    */
-   void registerSecurityDomain(String securityDomain, SecurityDomain instance);
-
-   /**
-    * Get the default unauthenticated principal.
-    * @return The principal name
-    */
-   String getDefaultUnauthenticatedPrincipal();
-
-   /**
-    * Set the default unauthenticated principal.
-    * @param principal The principal name
-    */
-   void setDefaultUnauthenticatedPrincipal(String principal); 
-   
-   String getSecurityDomain(String contextId);
-   
-   /**
-    * Get an AuthenticationManager instance provided a security domain
-    * 
-    * @param securityDomain
-    * @return an authentication manager
-    */
-   AuthenticationManager getSecurityManager(String securityDomain);
-   
-   /**
-    * Provide an internal mapping for the security domain given
-    * a context id
-    * 
-    * @param securityDomain
-    * @param contextId
-    */
-   void registerSecurityDomain(String securityDomain, String contextId);
-   
-   /**
-    * Flush the Authentication Cache for a security domain
-    * 
-    * @param securityDomain
-    */
-   public void flushAuthenticationCache(String securityDomain); 
-
-   /** Flush a principal's authentication cache entry associated with the
-    * given securityDomain.
-    *
-    * @param securityDomain the name of the security domain cache
-    * @param user the principal of the user to flush
-    */
-   public void flushAuthenticationCache(String securityDomain, Principal user);
-}




More information about the jboss-cvs-commits mailing list