rampart_token_processor.h

Go to the documentation of this file.
00001 /*
00002  *   Copyright 2003-2004 The Apache Software Foundation.
00003  *
00004  *   Licensed under the Apache License, Version 2.0 (the "License");
00005  *   you may not use this file except in compliance with the License.
00006  *   You may obtain a copy of the License at
00007  *
00008  *       http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  *   Unless required by applicable law or agreed to in writing, software
00011  *   distributed under the License is distributed on an "AS IS" BASIS,
00012  *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  *   See the License for the specific language governing permissions and
00014  *   limitations under the License.
00015  */
00016 
00017 
00018 
00019 #include <axutil_utils_defines.h>
00020 #include <axis2_defines.h>
00021 #include <axutil_date_time.h>
00022 #include <axutil_env.h>
00023 #include <axutil_property.h>
00024 #include <axis2_msg_ctx.h>
00025 #include <rampart_authn_provider.h>
00026 #include <rampart_credentials.h>
00027 #include <rampart_callback.h>
00039 #ifndef RAMPART_TOKEN_PROCESSOR_H
00040 #define RAMPART_TOKEN_PROCESSOR_H
00041 
00042 #ifdef __cplusplus
00043 extern "C" {
00044 #endif
00045     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00046     rampart_token_process_security_token_reference(const axutil_env_t *env,
00047             axiom_node_t *st_ref_node,
00048             axiom_node_t *scope_node,/*Can be NULL for all other scenarios but the Direct Reference*/
00049             oxs_x509_cert_t *cert);
00050 
00051     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00052     rampart_token_process_direct_ref(const axutil_env_t *env,
00053                                      axiom_node_t *ref_node,
00054                                      axiom_node_t *scope_node,
00055                                      oxs_x509_cert_t *cert);
00056 
00057     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00058     rampart_token_process_embedded(const axutil_env_t *env,
00059                                    axiom_node_t *embed_node,
00060                                    oxs_x509_cert_t *cert);
00061 
00062     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00063     rampart_token_process_key_identifier(const axutil_env_t *env,
00064                                          axiom_node_t *ki_node,
00065                                          oxs_x509_cert_t *cert);
00066 
00067     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00068     rampart_token_process_x509_data(const axutil_env_t *env,
00069                                     axiom_node_t *x509_data_node,
00070                                     oxs_x509_cert_t *cert);
00071     /* @} */
00072 #ifdef __cplusplus
00073 }
00074 #endif
00075 
00076 #endif    /* !RAMPART_TOKEN_PROCESSOR_H */
00077 
00078 

Generated on Thu Oct 4 17:37:07 2007 for Rampart/C by  doxygen 1.4.7