blob: 8cdf82f256ff4a4e9eb8e0236975cdce25020e02 [file] [log] [blame]
/*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef RAMPART_ENGINE_H
#define RAMPART_ENGINE_H
/** @defgroup rampart_engine
* @ingroup rampart_engine
* @{
*/
#include <rp_includes.h>
#include <rampart_context.h>
#include <rp_secpolicy.h>
#include <rampart_authn_provider.h>
#include <rampart_util.h>
#include <axutil_property.h>
#include <rampart_constants.h>
#include <rampart_callback.h>
#include <rp_policy_creator.h>
#include <rampart_handler_util.h>
#include <axis2_msg_ctx.h>
#ifdef __cplusplus
extern "C"
{
#endif
/**
* Initializes the rampart engine. This will perform the configuration loading for the rampart module.
* @param env pointer to environment struct
* @param msg_ctx message context
* @param is_inflow if the initialization is in IN-FLOW of the message this should be set to TRUE
* @return a rampart context nurished with configurations.
*/
AXIS2_EXTERN rampart_context_t* AXIS2_CALL
rampart_engine_init(const axutil_env_t *env,
axis2_msg_ctx_t *msg_ctx,
axis2_bool_t is_inflow);
/**
*
*
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
rampart_engine_shutdown(const axutil_env_t *env,
rampart_context_t *rampart_context);
#ifdef __cplusplus
}
#endif
#endif