/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2008 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: AmTrustAssociationInterceptor.java,v 1.2 2008/11/21 22:21:45 leiming Exp $
*
*/
/**
* This is customized IBM TAI class for Websphere agent.
*/
public class AmTrustAssociationInterceptor implements
/**
* This method will return true if this TAI should handle this
* request; false tells WebSphere Application Server to ignore
* this TAI.
*
* @param request the incoming HTTP servlet request
* @return true if the request must be handled by this interceptor,
* false otherwise.
* @throws WebTrustAssociationException if a processing error occurs
*/
throws WebTrustAssociationException {
}
/**
* This method returns a TAIResult object which indicates the
* status of the request that is being processed. The HTTP response
* object can be modified if needed.
*
* @param request the incoming HTTP servlet request
* @param response the corresponding HTTP servlet response
* @return the <code>TAIResult</code> instance indicating the followup
* action to be taken by WAS security system.
*/
throws WebTrustAssociationFailedException {
}
throws WebTrustAssociationFailedException {
// FIXME
return 0;
}
// FIXME - see if the agent version can be passed back
return "3.0";
}
}
public void cleanup() {
// No cleanup required
}
}