+++ /dev/null
-/*******************************************************************************\r
- * ============LICENSE_START====================================================\r
- * * org.onap.aaf\r
- * * ===========================================================================\r
- * * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
- * * ===========================================================================\r
- * * Licensed under the Apache License, Version 2.0 (the "License");\r
- * * you may not use this file except in compliance with the License.\r
- * * You may obtain a copy of the License at\r
- * * \r
- * * http://www.apache.org/licenses/LICENSE-2.0\r
- * * \r
- * * Unless required by applicable law or agreed to in writing, software\r
- * * distributed under the License is distributed on an "AS IS" BASIS,\r
- * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * * See the License for the specific language governing permissions and\r
- * * limitations under the License.\r
- * * ============LICENSE_END====================================================\r
- * *\r
- * * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
- * *\r
- ******************************************************************************/\r
-package org.onap.aaf.cadi.taf;\r
-\r
-import javax.servlet.http.HttpServletRequest;\r
-import javax.servlet.http.HttpServletResponse;\r
-\r
-import org.onap.aaf.cadi.CachedPrincipal;\r
-import org.onap.aaf.cadi.Taf.LifeForm;\r
-\r
-/**\r
- * A TAF which is in a specific HTTP environment in which the engine implements \r
- * javax Servlet.\r
- * \r
- * Using the Http Request and Response interfaces takes the effort out of implementing in almost any kind of\r
- * HTTP Container or Engine.\r
- * \r
- *\r
- */\r
-public interface HttpTaf {\r
- /**\r
- * validate\r
- * \r
- * Validate the Request, and respond with created TafResp object.\r
- * \r
- * @param reading\r
- * @param req\r
- * @param resp\r
- * @return\r
- */\r
- public TafResp validate(LifeForm reading, HttpServletRequest req, HttpServletResponse resp);\r
- \r
- /**\r
- * Re-Validate Credential\r
- * \r
- * @param prin\r
- * @return\r
- */\r
- public CachedPrincipal.Resp revalidate(CachedPrincipal prin);\r
-}\r