[jboss-cvs] JBossAS SVN: r98762 - projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jaspi-api/src/main/javax/security/auth/message/config.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Dec 22 13:00:28 EST 2009
Author: jaikiran
Date: 2009-12-22 13:00:28 -0500 (Tue, 22 Dec 2009)
New Revision: 98762
Removed:
projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jaspi-api/src/main/javax/security/auth/message/config/ServerAuthContext.java
Log:
Autoversioning commit: a non-deltaV client made a change to
/projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jaspi-api/src/main/javax/security/auth/message/config/ServerAuthContext.java
Deleted: projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jaspi-api/src/main/javax/security/auth/message/config/ServerAuthContext.java
===================================================================
--- projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jaspi-api/src/main/javax/security/auth/message/config/ServerAuthContext.java 2009-12-22 18:00:20 UTC (rev 98761)
+++ projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jaspi-api/src/main/javax/security/auth/message/config/ServerAuthContext.java 2009-12-22 18:00:28 UTC (rev 98762)
@@ -1,77 +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 javax.security.auth.message.config;
-
-import javax.security.auth.message.ServerAuth;
-
-/**
- * <p>This ServerAuthContext class encapsulates ServerAuthModules that are used to
- * secure requests made as a client. A caller typically uses this class in the
- * following manner:</p>
- * <ol>
- * <li>Retrieve an instance of this class via AuthContextFactory.getAuthContext.</li>
- * <li>Invoke <i>validateRequest</i>.
- * <p>ServerAuthContext implementation invokes encapsulated ServerAuthModule(s).
- * Module(s) verify or decrypt response as necessary.</p>
- * </li>
- * <li><p>Authentication complete.</p>
- * <p>Perform authorization check on authenticated identity and, if successful,
- * dispatch to requested service application.</p>
- * </li>
- * <li>Service Application Finished. </li>
- * <li>Invoke <i>secureResponse</i>.<p> ServerAuthContext implementation invokes
- * encapsulated ServerAuthModule(s). Module(s) secure response (sign and encrypt
- * response, for example).</p>
- * </li>
- * <li>Send final response to client.</li>
- * <li>Invoke <i>disposeSubject</i> method (as necessary) to clean up any authentication
- * state in Subject.<p>A ServerAuthContext instance may be used concurrently
- * by multiple callers.</p>
- * </li>
- * </ol>
- * </p>
- * <p>A ServerAuthContext instance may be used concurrently by multiple callers.</p>
- *
- * <p>Implementations of this interface are responsible for constructing and initializing
- * the encapsulated modules. The initialization step includes passing the relevant request
- * and response MessagePolicy objects to the encapsulated modules. The MessagePolicy objects
- * are obtained from the ServerAuthConfig instance that was provided when this ServerAuthContext
- * instance was created.
- * @See AuthContextFactory#getAuthContext for more information.
- * </p>
- * <p>Implementations also have custom logic to determine what modules to invoke, and in
- * what order. In addition, this custom logic may control whether subsequent modules are
- * invoked based on the success or failure of previously invoked modules.</p>
- * <p>The caller is responsible for passing in a state Map that can be used by underlying
- * modules to save and communicate state across a sequence of calls from secureRequest to
- * validateResponse to disposeSubject. The same Map instance must be passed to all methods
- * in the call sequence. Furthermore, each call sequence should be passed its own unique
- * shared state Map instance.</p>
- *
- * @author <a href="mailto:Anil.Saldhana at jboss.org">Anil Saldhana</a>
- * @author Charlie Lai, Ron Monzillo (Javadoc for JSR-196)</a>
- * @since May 12, 2006
- * @version $Revision$
- */
-public interface ServerAuthContext extends ServerAuth
-{
-}
More information about the jboss-cvs-commits
mailing list