// -*- C++ -*-
/**
 * Code generated by the The ACE ORB (TAO) IDL Compiler v4.0.0
 * TAO and the TAO IDL Compiler have been developed by:
 *       Center for Distributed Object Computing
 *       Washington University
 *       St. Louis, MO
 *       USA
 * and
 *       Distributed Object Computing Laboratory
 *       University of California at Irvine
 *       Irvine, CA
 *       USA
 * and
 *       Institute for Software Integrated Systems
 *       Vanderbilt University
 *       Nashville, TN
 *       USA
 *       https://www.isis.vanderbilt.edu/
 *
 * Information about TAO is available at:
 *     https://www.dre.vanderbilt.edu/~schmidt/TAO.html
 **/

// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_codegen.cpp:148

#ifndef _TAO_IDL_SECURITYLEVEL2C_8HJPID_H_
#define _TAO_IDL_SECURITYLEVEL2C_8HJPID_H_

#include /**/ "ace/pre.h"


#include /**/ "ace/config-all.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */


#include /**/ "orbsvcs/Security/security_export.h"
#include "tao/AnyTypeCode/AnyTypeCode_methods.h"
#include "tao/AnyTypeCode/Any.h"
#include "tao/ORB.h"
#include "tao/SystemException.h"
#include "tao/Basic_Types.h"
#include "tao/ORB_Constants.h"
#include "tao/Object.h"
#include "tao/AnyTypeCode/TypeCode.h"
#include "tao/AnyTypeCode/TypeCode_Constants.h"
#include "tao/AnyTypeCode/Any.h"
#include "tao/String_Manager_T.h"
#include "tao/Sequence_T.h"
#include "tao/Objref_VarOut_T.h"
#include "tao/Seq_Var_T.h"
#include "tao/Seq_Out_T.h"
#include "tao/Arg_Traits_T.h"
#include "tao/Basic_Arguments.h"
#include "tao/Special_Basic_Arguments.h"
#include "tao/Any_Insert_Policy_T.h"
#include "tao/Fixed_Size_Argument_T.h"
#include "tao/Var_Size_Argument_T.h"
#include "tao/Object_Argument_T.h"
#include "tao/UB_String_Arguments.h"
#include /**/ "tao/Version.h"
#include /**/ "tao/Versioned_Namespace.h"

#include "orbsvcs/SecurityLevel1C.h"

#if TAO_MAJOR_VERSION != 4 || TAO_MINOR_VERSION != 0 || TAO_MICRO_VERSION != 0
#error This file should be regenerated with TAO_IDL
#endif

TAO_BEGIN_VERSIONED_NAMESPACE_DECL



TAO_END_VERSIONED_NAMESPACE_DECL



TAO_BEGIN_VERSIONED_NAMESPACE_DECL


// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp:155



TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL



namespace TAO
{
  template<typename T> class Narrow_Utils;
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL



// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp:34

namespace SecurityLevel2
{
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_interface.cpp:742

  

#if !defined (_SECURITYLEVEL2_PRINCIPALAUTHENTICATOR__VAR_OUT_CH_)
#define _SECURITYLEVEL2_PRINCIPALAUTHENTICATOR__VAR_OUT_CH_

  class PrincipalAuthenticator;
  using PrincipalAuthenticator_ptr = PrincipalAuthenticator*;
  using PrincipalAuthenticator_var = TAO_Objref_Var_T<PrincipalAuthenticator>;
  using PrincipalAuthenticator_out = TAO_Objref_Out_T<PrincipalAuthenticator>;

#endif /* end #if !defined */
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_interface.cpp:742

  

#if !defined (_SECURITYLEVEL2_CREDENTIALS__VAR_OUT_CH_)
#define _SECURITYLEVEL2_CREDENTIALS__VAR_OUT_CH_

  class Credentials;
  using Credentials_ptr = Credentials*;
  using Credentials_var = TAO_Objref_Var_T<Credentials>;
  using Credentials_out = TAO_Objref_Out_T<Credentials>;

#endif /* end #if !defined */
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_interface.cpp:742

  

#if !defined (_SECURITYLEVEL2_CURRENT__VAR_OUT_CH_)
#define _SECURITYLEVEL2_CURRENT__VAR_OUT_CH_

  class Current;
  using Current_ptr = Current*;
  using Current_var = TAO_Objref_Var_T<Current>;
  using Current_out = TAO_Objref_Out_T<Current>;

#endif /* end #if !defined */

  
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:39

  

  class TAO_Security_Export PrincipalAuthenticator
    : public virtual ::CORBA::Object
  {
  public:
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_type.cpp:297

    using _ptr_type = PrincipalAuthenticator_ptr;
    using _var_type = PrincipalAuthenticator_var;
    using _out_type = PrincipalAuthenticator_out;

    static void _tao_any_destructor (void *);

    // The static operations.
    static PrincipalAuthenticator_ptr _duplicate (PrincipalAuthenticator_ptr obj);

    static void _tao_release (PrincipalAuthenticator_ptr obj);

    static PrincipalAuthenticator_ptr _narrow (::CORBA::Object_ptr obj);
    static PrincipalAuthenticator_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
    static PrincipalAuthenticator_ptr _nil ();

    virtual ::Security::AuthenticationMethodList * get_supported_authen_methods (
      const char * mechanism) = 0;

    virtual ::Security::AuthenticationStatus authenticate (
      ::Security::AuthenticationMethod method,
      const char * mechanism,
      const char * security_name,
      const ::CORBA::Any & auth_data,
      const ::Security::AttributeList & privileges,
      ::SecurityLevel2::Credentials_out creds,
      ::CORBA::Any_out continuation_data,
      ::CORBA::Any_out auth_specific_data) = 0;

    virtual ::Security::AuthenticationStatus continue_authentication (
      const ::CORBA::Any & response_data,
      ::SecurityLevel2::Credentials_ptr creds,
      ::CORBA::Any_out continuation_data,
      ::CORBA::Any_out auth_specific_data) = 0;

    
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:135

    

    virtual ::CORBA::Boolean _is_a (const char *type_id);
    virtual const char* _interface_repository_id () const;
    virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
  
  protected:
    // Abstract or local interface only.
    PrincipalAuthenticator ();

    

    virtual ~PrincipalAuthenticator () = default;
  
  private:
    // Private and unimplemented for concrete interfaces.
    PrincipalAuthenticator (const PrincipalAuthenticator &) = delete;
    PrincipalAuthenticator (PrincipalAuthenticator &&) = delete;
    PrincipalAuthenticator &operator= (const PrincipalAuthenticator &) = delete;
    PrincipalAuthenticator &operator= (PrincipalAuthenticator &&) = delete;
  };
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp:33

  extern TAO_Security_Export ::CORBA::TypeCode_ptr const _tc_PrincipalAuthenticator;

  
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:39

  

  class TAO_Security_Export Credentials
    : public virtual ::CORBA::Object
  {
  public:
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_type.cpp:297

    using _ptr_type = Credentials_ptr;
    using _var_type = Credentials_var;
    using _out_type = Credentials_out;

    static void _tao_any_destructor (void *);

    // The static operations.
    static Credentials_ptr _duplicate (Credentials_ptr obj);

    static void _tao_release (Credentials_ptr obj);

    static Credentials_ptr _narrow (::CORBA::Object_ptr obj);
    static Credentials_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
    static Credentials_ptr _nil ();

    virtual ::SecurityLevel2::Credentials_ptr copy () = 0;

    virtual void destroy () = 0;

    virtual ::Security::InvocationCredentialsType credentials_type () = 0;

    virtual ::Security::AuthenticationStatus authentication_state () = 0;

    virtual char * mechanism () = 0;

    virtual ::Security::AssociationOptions accepting_options_supported () = 0;

    virtual void accepting_options_supported (
      ::Security::AssociationOptions accepting_options_supported) = 0;

    virtual ::Security::AssociationOptions accepting_options_required () = 0;

    virtual void accepting_options_required (
      ::Security::AssociationOptions accepting_options_required) = 0;

    virtual ::Security::AssociationOptions invocation_options_supported () = 0;

    virtual void invocation_options_supported (
      ::Security::AssociationOptions invocation_options_supported) = 0;

    virtual ::Security::AssociationOptions invocation_options_required () = 0;

    virtual void invocation_options_required (
      ::Security::AssociationOptions invocation_options_required) = 0;

    virtual ::CORBA::Boolean get_security_feature (
      ::Security::CommunicationDirection direction,
      ::Security::SecurityFeature feature) = 0;

    virtual ::CORBA::Boolean set_attributes (
      const ::Security::AttributeList & requested_attributes,
      ::Security::AttributeList_out actual_attributes) = 0;

    virtual ::Security::AttributeList * get_attributes (
      const ::Security::AttributeTypeList & attributes) = 0;

    virtual ::CORBA::Boolean is_valid (
      ::Security::UtcT_out expiry_time) = 0;

    virtual ::CORBA::Boolean refresh (
      const ::CORBA::Any & refresh_data) = 0;

    
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:135

    

    virtual ::CORBA::Boolean _is_a (const char *type_id);
    virtual const char* _interface_repository_id () const;
    virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
  
  protected:
    // Abstract or local interface only.
    Credentials ();

    

    virtual ~Credentials () = default;
  
  private:
    // Private and unimplemented for concrete interfaces.
    Credentials (const Credentials &) = delete;
    Credentials (Credentials &&) = delete;
    Credentials &operator= (const Credentials &) = delete;
    Credentials &operator= (Credentials &&) = delete;
  };
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp:33

  extern TAO_Security_Export ::CORBA::TypeCode_ptr const _tc_Credentials;

  
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp:98

  

#if !defined (_SECURITYLEVEL2_CREDENTIALSLIST_CH_)
#define _SECURITYLEVEL2_CREDENTIALSLIST_CH_

  class CredentialsList;
  typedef ::TAO_VarSeq_Var_T<CredentialsList> CredentialsList_var;
  typedef ::TAO_Seq_Out_T<CredentialsList> CredentialsList_out;
  

  class TAO_Security_Export CredentialsList
    : public
        ::TAO::unbounded_object_reference_sequence<
            Credentials,
            Credentials_var
          >
  {
  public:
    CredentialsList () = default;
    CredentialsList (::CORBA::ULong max);
    CredentialsList (
      ::CORBA::ULong max,
      ::CORBA::ULong length,
      Credentials_ptr* buffer,
      ::CORBA::Boolean release = false);
    CredentialsList (const CredentialsList &) = default;
    CredentialsList (CredentialsList &&) = default;
    CredentialsList& operator= (const CredentialsList &) = default;
    CredentialsList& operator= (CredentialsList &&) = default;
    virtual ~CredentialsList () = default;
    
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_type.cpp:297

    
    using _var_type = CredentialsList_var;
    using _out_type = CredentialsList_out;

    static void _tao_any_destructor (void *);
  };

#endif /* end #if !defined */
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp:33

  extern TAO_Security_Export ::CORBA::TypeCode_ptr const _tc_CredentialsList;
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_interface.cpp:742

  

#if !defined (_SECURITYLEVEL2_RECEIVEDCREDENTIALS__VAR_OUT_CH_)
#define _SECURITYLEVEL2_RECEIVEDCREDENTIALS__VAR_OUT_CH_

  class ReceivedCredentials;
  using ReceivedCredentials_ptr = ReceivedCredentials*;
  using ReceivedCredentials_var = TAO_Objref_Var_T<ReceivedCredentials>;
  using ReceivedCredentials_out = TAO_Objref_Out_T<ReceivedCredentials>;

#endif /* end #if !defined */

  
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:39

  

  class TAO_Security_Export ReceivedCredentials
    : public virtual ::SecurityLevel2::Credentials
  
  {
  public:
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_type.cpp:297

    using _ptr_type = ReceivedCredentials_ptr;
    using _var_type = ReceivedCredentials_var;
    using _out_type = ReceivedCredentials_out;

    static void _tao_any_destructor (void *);

    // The static operations.
    static ReceivedCredentials_ptr _duplicate (ReceivedCredentials_ptr obj);

    static void _tao_release (ReceivedCredentials_ptr obj);

    static ReceivedCredentials_ptr _narrow (::CORBA::Object_ptr obj);
    static ReceivedCredentials_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
    static ReceivedCredentials_ptr _nil ();

    virtual ::SecurityLevel2::Credentials_ptr accepting_credentials () = 0;

    virtual ::Security::AssociationOptions association_options_used () = 0;

    virtual ::Security::DelegationState delegation_state () = 0;

    virtual ::Security::DelegationMode delegation_mode () = 0;

    
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:135

    

    virtual ::CORBA::Boolean _is_a (const char *type_id);
    virtual const char* _interface_repository_id () const;
    virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
  
  protected:
    // Abstract or local interface only.
    ReceivedCredentials ();

    

    virtual ~ReceivedCredentials () = default;
  
  private:
    // Private and unimplemented for concrete interfaces.
    ReceivedCredentials (const ReceivedCredentials &) = delete;
    ReceivedCredentials (ReceivedCredentials &&) = delete;
    ReceivedCredentials &operator= (const ReceivedCredentials &) = delete;
    ReceivedCredentials &operator= (ReceivedCredentials &&) = delete;
  };
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp:33

  extern TAO_Security_Export ::CORBA::TypeCode_ptr const _tc_ReceivedCredentials;
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_interface.cpp:742

  

#if !defined (_SECURITYLEVEL2_TARGETCREDENTIALS__VAR_OUT_CH_)
#define _SECURITYLEVEL2_TARGETCREDENTIALS__VAR_OUT_CH_

  class TargetCredentials;
  using TargetCredentials_ptr = TargetCredentials*;
  using TargetCredentials_var = TAO_Objref_Var_T<TargetCredentials>;
  using TargetCredentials_out = TAO_Objref_Out_T<TargetCredentials>;

#endif /* end #if !defined */

  
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:39

  

  class TAO_Security_Export TargetCredentials
    : public virtual ::SecurityLevel2::Credentials
  
  {
  public:
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_type.cpp:297

    using _ptr_type = TargetCredentials_ptr;
    using _var_type = TargetCredentials_var;
    using _out_type = TargetCredentials_out;

    static void _tao_any_destructor (void *);

    // The static operations.
    static TargetCredentials_ptr _duplicate (TargetCredentials_ptr obj);

    static void _tao_release (TargetCredentials_ptr obj);

    static TargetCredentials_ptr _narrow (::CORBA::Object_ptr obj);
    static TargetCredentials_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
    static TargetCredentials_ptr _nil ();

    virtual ::SecurityLevel2::Credentials_ptr initiating_credentials () = 0;

    virtual ::Security::AssociationOptions association_options_used () = 0;

    
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:135

    

    virtual ::CORBA::Boolean _is_a (const char *type_id);
    virtual const char* _interface_repository_id () const;
    virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
  
  protected:
    // Abstract or local interface only.
    TargetCredentials ();

    

    virtual ~TargetCredentials () = default;
  
  private:
    // Private and unimplemented for concrete interfaces.
    TargetCredentials (const TargetCredentials &) = delete;
    TargetCredentials (TargetCredentials &&) = delete;
    TargetCredentials &operator= (const TargetCredentials &) = delete;
    TargetCredentials &operator= (TargetCredentials &&) = delete;
  };
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp:33

  extern TAO_Security_Export ::CORBA::TypeCode_ptr const _tc_TargetCredentials;
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_interface.cpp:742

  

#if !defined (_SECURITYLEVEL2_REQUIREDRIGHTS__VAR_OUT_CH_)
#define _SECURITYLEVEL2_REQUIREDRIGHTS__VAR_OUT_CH_

  class RequiredRights;
  using RequiredRights_ptr = RequiredRights*;
  using RequiredRights_var = TAO_Objref_Var_T<RequiredRights>;
  using RequiredRights_out = TAO_Objref_Out_T<RequiredRights>;

#endif /* end #if !defined */

  
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:39

  

  class TAO_Security_Export RequiredRights
    : public virtual ::CORBA::Object
  {
  public:
    friend class TAO::Narrow_Utils<RequiredRights>;
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_type.cpp:297

    using _ptr_type = RequiredRights_ptr;
    using _var_type = RequiredRights_var;
    using _out_type = RequiredRights_out;

    static void _tao_any_destructor (void *);

    // The static operations.
    static RequiredRights_ptr _duplicate (RequiredRights_ptr obj);

    static void _tao_release (RequiredRights_ptr obj);

    static RequiredRights_ptr _narrow (::CORBA::Object_ptr obj);
    static RequiredRights_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
    static RequiredRights_ptr _nil ();

    virtual void get_required_rights (
      ::CORBA::Object_ptr obj,
      const char * operation_name,
      const char * interface_name,
      ::Security::RightsList_out rights,
      ::Security::RightsCombinator_out rights_combinator);

    virtual void set_required_rights (
      const char * operation_name,
      const char * interface_name,
      const ::Security::RightsList & rights,
      ::Security::RightsCombinator rights_combinator);

    
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:135

    

    virtual ::CORBA::Boolean _is_a (const char *type_id);
    virtual const char* _interface_repository_id () const;
    virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
  
  protected:
    // Concrete interface only.
    RequiredRights ();

    // Concrete non-local interface only.
    RequiredRights (::IOP::IOR *ior, TAO_ORB_Core *orb_core);
    
    // Non-local interface only.
    RequiredRights (
        TAO_Stub *objref,
        ::CORBA::Boolean _tao_collocated = false,
        TAO_Abstract_ServantBase *servant = nullptr,
        TAO_ORB_Core *orb_core = nullptr);

    virtual ~RequiredRights () = default;
  
  private:
    // Private and unimplemented for concrete interfaces.
    RequiredRights (const RequiredRights &) = delete;
    RequiredRights (RequiredRights &&) = delete;
    RequiredRights &operator= (const RequiredRights &) = delete;
    RequiredRights &operator= (RequiredRights &&) = delete;
  };
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp:33

  extern TAO_Security_Export ::CORBA::TypeCode_ptr const _tc_RequiredRights;
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_interface.cpp:742

  

#if !defined (_SECURITYLEVEL2_AUDITCHANNEL__VAR_OUT_CH_)
#define _SECURITYLEVEL2_AUDITCHANNEL__VAR_OUT_CH_

  class AuditChannel;
  using AuditChannel_ptr = AuditChannel*;
  using AuditChannel_var = TAO_Objref_Var_T<AuditChannel>;
  using AuditChannel_out = TAO_Objref_Out_T<AuditChannel>;

#endif /* end #if !defined */

  
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:39

  

  class TAO_Security_Export AuditChannel
    : public virtual ::CORBA::Object
  {
  public:
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_type.cpp:297

    using _ptr_type = AuditChannel_ptr;
    using _var_type = AuditChannel_var;
    using _out_type = AuditChannel_out;

    static void _tao_any_destructor (void *);

    // The static operations.
    static AuditChannel_ptr _duplicate (AuditChannel_ptr obj);

    static void _tao_release (AuditChannel_ptr obj);

    static AuditChannel_ptr _narrow (::CORBA::Object_ptr obj);
    static AuditChannel_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
    static AuditChannel_ptr _nil ();

    virtual void audit_write (
      const ::Security::AuditEventType & event_type,
      const ::SecurityLevel2::CredentialsList & creds,
      const ::Security::UtcT & time,
      const ::Security::SelectorValueList & descriptors,
      const ::CORBA::Any & event_specific_data) = 0;

    virtual ::Security::AuditChannelId audit_channel_id () = 0;

    
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:135

    

    virtual ::CORBA::Boolean _is_a (const char *type_id);
    virtual const char* _interface_repository_id () const;
    virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
  
  protected:
    // Abstract or local interface only.
    AuditChannel ();

    

    virtual ~AuditChannel () = default;
  
  private:
    // Private and unimplemented for concrete interfaces.
    AuditChannel (const AuditChannel &) = delete;
    AuditChannel (AuditChannel &&) = delete;
    AuditChannel &operator= (const AuditChannel &) = delete;
    AuditChannel &operator= (AuditChannel &&) = delete;
  };
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp:33

  extern TAO_Security_Export ::CORBA::TypeCode_ptr const _tc_AuditChannel;
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_interface.cpp:742

  

#if !defined (_SECURITYLEVEL2_AUDITDECISION__VAR_OUT_CH_)
#define _SECURITYLEVEL2_AUDITDECISION__VAR_OUT_CH_

  class AuditDecision;
  using AuditDecision_ptr = AuditDecision*;
  using AuditDecision_var = TAO_Objref_Var_T<AuditDecision>;
  using AuditDecision_out = TAO_Objref_Out_T<AuditDecision>;

#endif /* end #if !defined */

  
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:39

  

  class TAO_Security_Export AuditDecision
    : public virtual ::CORBA::Object
  {
  public:
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_type.cpp:297

    using _ptr_type = AuditDecision_ptr;
    using _var_type = AuditDecision_var;
    using _out_type = AuditDecision_out;

    static void _tao_any_destructor (void *);

    // The static operations.
    static AuditDecision_ptr _duplicate (AuditDecision_ptr obj);

    static void _tao_release (AuditDecision_ptr obj);

    static AuditDecision_ptr _narrow (::CORBA::Object_ptr obj);
    static AuditDecision_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
    static AuditDecision_ptr _nil ();

    virtual ::CORBA::Boolean audit_needed (
      const ::Security::AuditEventType & event_type,
      const ::Security::SelectorValueList & value_list) = 0;

    virtual ::SecurityLevel2::AuditChannel_ptr audit_channel () = 0;

    
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:135

    

    virtual ::CORBA::Boolean _is_a (const char *type_id);
    virtual const char* _interface_repository_id () const;
    virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
  
  protected:
    // Abstract or local interface only.
    AuditDecision ();

    

    virtual ~AuditDecision () = default;
  
  private:
    // Private and unimplemented for concrete interfaces.
    AuditDecision (const AuditDecision &) = delete;
    AuditDecision (AuditDecision &&) = delete;
    AuditDecision &operator= (const AuditDecision &) = delete;
    AuditDecision &operator= (AuditDecision &&) = delete;
  };
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp:33

  extern TAO_Security_Export ::CORBA::TypeCode_ptr const _tc_AuditDecision;
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_interface.cpp:742

  

#if !defined (_SECURITYLEVEL2_ACCESSDECISION__VAR_OUT_CH_)
#define _SECURITYLEVEL2_ACCESSDECISION__VAR_OUT_CH_

  class AccessDecision;
  using AccessDecision_ptr = AccessDecision*;
  using AccessDecision_var = TAO_Objref_Var_T<AccessDecision>;
  using AccessDecision_out = TAO_Objref_Out_T<AccessDecision>;

#endif /* end #if !defined */

  
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:39

  

  class TAO_Security_Export AccessDecision
    : public virtual ::CORBA::Object
  {
  public:
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_type.cpp:297

    using _ptr_type = AccessDecision_ptr;
    using _var_type = AccessDecision_var;
    using _out_type = AccessDecision_out;

    static void _tao_any_destructor (void *);

    // The static operations.
    static AccessDecision_ptr _duplicate (AccessDecision_ptr obj);

    static void _tao_release (AccessDecision_ptr obj);

    static AccessDecision_ptr _narrow (::CORBA::Object_ptr obj);
    static AccessDecision_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
    static AccessDecision_ptr _nil ();

    virtual ::CORBA::Boolean access_allowed (
      const ::SecurityLevel2::CredentialsList & cred_list,
      ::CORBA::Object_ptr target,
      const char * operation_name,
      const char * target_interface_name) = 0;

    
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:135

    

    virtual ::CORBA::Boolean _is_a (const char *type_id);
    virtual const char* _interface_repository_id () const;
    virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
  
  protected:
    // Abstract or local interface only.
    AccessDecision ();

    

    virtual ~AccessDecision () = default;
  
  private:
    // Private and unimplemented for concrete interfaces.
    AccessDecision (const AccessDecision &) = delete;
    AccessDecision (AccessDecision &&) = delete;
    AccessDecision &operator= (const AccessDecision &) = delete;
    AccessDecision &operator= (AccessDecision &&) = delete;
  };
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp:33

  extern TAO_Security_Export ::CORBA::TypeCode_ptr const _tc_AccessDecision;
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_interface.cpp:742

  

#if !defined (_SECURITYLEVEL2_QOPPOLICY__VAR_OUT_CH_)
#define _SECURITYLEVEL2_QOPPOLICY__VAR_OUT_CH_

  class QOPPolicy;
  using QOPPolicy_ptr = QOPPolicy*;
  using QOPPolicy_var = TAO_Objref_Var_T<QOPPolicy>;
  using QOPPolicy_out = TAO_Objref_Out_T<QOPPolicy>;

#endif /* end #if !defined */

  
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:39

  

  class TAO_Security_Export QOPPolicy
    : public virtual ::CORBA::Policy
  
  {
  public:
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_type.cpp:297

    using _ptr_type = QOPPolicy_ptr;
    using _var_type = QOPPolicy_var;
    using _out_type = QOPPolicy_out;

    static void _tao_any_destructor (void *);

    // The static operations.
    static QOPPolicy_ptr _duplicate (QOPPolicy_ptr obj);

    static void _tao_release (QOPPolicy_ptr obj);

    static QOPPolicy_ptr _narrow (::CORBA::Object_ptr obj);
    static QOPPolicy_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
    static QOPPolicy_ptr _nil ();

    virtual ::Security::QOP qop () = 0;

    virtual ::CORBA::Policy_ptr copy () = 0;

    virtual void destroy () = 0;

    
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:135

    

    virtual ::CORBA::Boolean _is_a (const char *type_id);
    virtual const char* _interface_repository_id () const;
    virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
  
  protected:
    // Abstract or local interface only.
    QOPPolicy ();

    

    virtual ~QOPPolicy () = default;
  
  private:
    // Private and unimplemented for concrete interfaces.
    QOPPolicy (const QOPPolicy &) = delete;
    QOPPolicy (QOPPolicy &&) = delete;
    QOPPolicy &operator= (const QOPPolicy &) = delete;
    QOPPolicy &operator= (QOPPolicy &&) = delete;
  };
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp:33

  extern TAO_Security_Export ::CORBA::TypeCode_ptr const _tc_QOPPolicy;
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_interface.cpp:742

  

#if !defined (_SECURITYLEVEL2_MECHANISMPOLICY__VAR_OUT_CH_)
#define _SECURITYLEVEL2_MECHANISMPOLICY__VAR_OUT_CH_

  class MechanismPolicy;
  using MechanismPolicy_ptr = MechanismPolicy*;
  using MechanismPolicy_var = TAO_Objref_Var_T<MechanismPolicy>;
  using MechanismPolicy_out = TAO_Objref_Out_T<MechanismPolicy>;

#endif /* end #if !defined */

  
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:39

  

  class TAO_Security_Export MechanismPolicy
    : public virtual ::CORBA::Policy
  
  {
  public:
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_type.cpp:297

    using _ptr_type = MechanismPolicy_ptr;
    using _var_type = MechanismPolicy_var;
    using _out_type = MechanismPolicy_out;

    static void _tao_any_destructor (void *);

    // The static operations.
    static MechanismPolicy_ptr _duplicate (MechanismPolicy_ptr obj);

    static void _tao_release (MechanismPolicy_ptr obj);

    static MechanismPolicy_ptr _narrow (::CORBA::Object_ptr obj);
    static MechanismPolicy_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
    static MechanismPolicy_ptr _nil ();

    virtual ::Security::MechanismTypeList * mechanisms () = 0;

    virtual ::CORBA::Policy_ptr copy () = 0;

    virtual void destroy () = 0;

    
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:135

    

    virtual ::CORBA::Boolean _is_a (const char *type_id);
    virtual const char* _interface_repository_id () const;
    virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
  
  protected:
    // Abstract or local interface only.
    MechanismPolicy ();

    

    virtual ~MechanismPolicy () = default;
  
  private:
    // Private and unimplemented for concrete interfaces.
    MechanismPolicy (const MechanismPolicy &) = delete;
    MechanismPolicy (MechanismPolicy &&) = delete;
    MechanismPolicy &operator= (const MechanismPolicy &) = delete;
    MechanismPolicy &operator= (MechanismPolicy &&) = delete;
  };
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp:33

  extern TAO_Security_Export ::CORBA::TypeCode_ptr const _tc_MechanismPolicy;
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_interface.cpp:742

  

#if !defined (_SECURITYLEVEL2_INVOCATIONCREDENTIALSPOLICY__VAR_OUT_CH_)
#define _SECURITYLEVEL2_INVOCATIONCREDENTIALSPOLICY__VAR_OUT_CH_

  class InvocationCredentialsPolicy;
  using InvocationCredentialsPolicy_ptr = InvocationCredentialsPolicy*;
  using InvocationCredentialsPolicy_var = TAO_Objref_Var_T<InvocationCredentialsPolicy>;
  using InvocationCredentialsPolicy_out = TAO_Objref_Out_T<InvocationCredentialsPolicy>;

#endif /* end #if !defined */

  
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:39

  

  class TAO_Security_Export InvocationCredentialsPolicy
    : public virtual ::CORBA::Policy
  
  {
  public:
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_type.cpp:297

    using _ptr_type = InvocationCredentialsPolicy_ptr;
    using _var_type = InvocationCredentialsPolicy_var;
    using _out_type = InvocationCredentialsPolicy_out;

    static void _tao_any_destructor (void *);

    // The static operations.
    static InvocationCredentialsPolicy_ptr _duplicate (InvocationCredentialsPolicy_ptr obj);

    static void _tao_release (InvocationCredentialsPolicy_ptr obj);

    static InvocationCredentialsPolicy_ptr _narrow (::CORBA::Object_ptr obj);
    static InvocationCredentialsPolicy_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
    static InvocationCredentialsPolicy_ptr _nil ();

    virtual ::SecurityLevel2::CredentialsList * creds () = 0;

    virtual ::CORBA::Policy_ptr copy () = 0;

    virtual void destroy () = 0;

    
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:135

    

    virtual ::CORBA::Boolean _is_a (const char *type_id);
    virtual const char* _interface_repository_id () const;
    virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
  
  protected:
    // Abstract or local interface only.
    InvocationCredentialsPolicy ();

    

    virtual ~InvocationCredentialsPolicy () = default;
  
  private:
    // Private and unimplemented for concrete interfaces.
    InvocationCredentialsPolicy (const InvocationCredentialsPolicy &) = delete;
    InvocationCredentialsPolicy (InvocationCredentialsPolicy &&) = delete;
    InvocationCredentialsPolicy &operator= (const InvocationCredentialsPolicy &) = delete;
    InvocationCredentialsPolicy &operator= (InvocationCredentialsPolicy &&) = delete;
  };
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp:33

  extern TAO_Security_Export ::CORBA::TypeCode_ptr const _tc_InvocationCredentialsPolicy;
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_interface.cpp:742

  

#if !defined (_SECURITYLEVEL2_ESTABLISHTRUSTPOLICY__VAR_OUT_CH_)
#define _SECURITYLEVEL2_ESTABLISHTRUSTPOLICY__VAR_OUT_CH_

  class EstablishTrustPolicy;
  using EstablishTrustPolicy_ptr = EstablishTrustPolicy*;
  using EstablishTrustPolicy_var = TAO_Objref_Var_T<EstablishTrustPolicy>;
  using EstablishTrustPolicy_out = TAO_Objref_Out_T<EstablishTrustPolicy>;

#endif /* end #if !defined */

  
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:39

  

  class TAO_Security_Export EstablishTrustPolicy
    : public virtual ::CORBA::Policy
  
  {
  public:
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_type.cpp:297

    using _ptr_type = EstablishTrustPolicy_ptr;
    using _var_type = EstablishTrustPolicy_var;
    using _out_type = EstablishTrustPolicy_out;

    static void _tao_any_destructor (void *);

    // The static operations.
    static EstablishTrustPolicy_ptr _duplicate (EstablishTrustPolicy_ptr obj);

    static void _tao_release (EstablishTrustPolicy_ptr obj);

    static EstablishTrustPolicy_ptr _narrow (::CORBA::Object_ptr obj);
    static EstablishTrustPolicy_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
    static EstablishTrustPolicy_ptr _nil ();

    virtual ::Security::EstablishTrust trust () = 0;

    virtual ::CORBA::Policy_ptr copy () = 0;

    virtual void destroy () = 0;

    
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:135

    

    virtual ::CORBA::Boolean _is_a (const char *type_id);
    virtual const char* _interface_repository_id () const;
    virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
  
  protected:
    // Abstract or local interface only.
    EstablishTrustPolicy ();

    

    virtual ~EstablishTrustPolicy () = default;
  
  private:
    // Private and unimplemented for concrete interfaces.
    EstablishTrustPolicy (const EstablishTrustPolicy &) = delete;
    EstablishTrustPolicy (EstablishTrustPolicy &&) = delete;
    EstablishTrustPolicy &operator= (const EstablishTrustPolicy &) = delete;
    EstablishTrustPolicy &operator= (EstablishTrustPolicy &&) = delete;
  };
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp:33

  extern TAO_Security_Export ::CORBA::TypeCode_ptr const _tc_EstablishTrustPolicy;
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_interface.cpp:742

  

#if !defined (_SECURITYLEVEL2_DELEGATIONDIRECTIVEPOLICY__VAR_OUT_CH_)
#define _SECURITYLEVEL2_DELEGATIONDIRECTIVEPOLICY__VAR_OUT_CH_

  class DelegationDirectivePolicy;
  using DelegationDirectivePolicy_ptr = DelegationDirectivePolicy*;
  using DelegationDirectivePolicy_var = TAO_Objref_Var_T<DelegationDirectivePolicy>;
  using DelegationDirectivePolicy_out = TAO_Objref_Out_T<DelegationDirectivePolicy>;

#endif /* end #if !defined */

  
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:39

  

  class TAO_Security_Export DelegationDirectivePolicy
    : public virtual ::CORBA::Policy
  
  {
  public:
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_type.cpp:297

    using _ptr_type = DelegationDirectivePolicy_ptr;
    using _var_type = DelegationDirectivePolicy_var;
    using _out_type = DelegationDirectivePolicy_out;

    static void _tao_any_destructor (void *);

    // The static operations.
    static DelegationDirectivePolicy_ptr _duplicate (DelegationDirectivePolicy_ptr obj);

    static void _tao_release (DelegationDirectivePolicy_ptr obj);

    static DelegationDirectivePolicy_ptr _narrow (::CORBA::Object_ptr obj);
    static DelegationDirectivePolicy_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
    static DelegationDirectivePolicy_ptr _nil ();

    virtual ::Security::DelegationDirective delegation_directive () = 0;

    virtual ::CORBA::Policy_ptr copy () = 0;

    virtual void destroy () = 0;

    
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:135

    

    virtual ::CORBA::Boolean _is_a (const char *type_id);
    virtual const char* _interface_repository_id () const;
    virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
  
  protected:
    // Abstract or local interface only.
    DelegationDirectivePolicy ();

    

    virtual ~DelegationDirectivePolicy () = default;
  
  private:
    // Private and unimplemented for concrete interfaces.
    DelegationDirectivePolicy (const DelegationDirectivePolicy &) = delete;
    DelegationDirectivePolicy (DelegationDirectivePolicy &&) = delete;
    DelegationDirectivePolicy &operator= (const DelegationDirectivePolicy &) = delete;
    DelegationDirectivePolicy &operator= (DelegationDirectivePolicy &&) = delete;
  };
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp:33

  extern TAO_Security_Export ::CORBA::TypeCode_ptr const _tc_DelegationDirectivePolicy;
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_interface.cpp:742

  

#if !defined (_SECURITYLEVEL2_SECURITYMANAGER__VAR_OUT_CH_)
#define _SECURITYLEVEL2_SECURITYMANAGER__VAR_OUT_CH_

  class SecurityManager;
  using SecurityManager_ptr = SecurityManager*;
  using SecurityManager_var = TAO_Objref_Var_T<SecurityManager>;
  using SecurityManager_out = TAO_Objref_Out_T<SecurityManager>;

#endif /* end #if !defined */

  
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:39

  

  class TAO_Security_Export SecurityManager
    : public virtual ::CORBA::Object
  {
  public:
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_type.cpp:297

    using _ptr_type = SecurityManager_ptr;
    using _var_type = SecurityManager_var;
    using _out_type = SecurityManager_out;

    static void _tao_any_destructor (void *);

    // The static operations.
    static SecurityManager_ptr _duplicate (SecurityManager_ptr obj);

    static void _tao_release (SecurityManager_ptr obj);

    static SecurityManager_ptr _narrow (::CORBA::Object_ptr obj);
    static SecurityManager_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
    static SecurityManager_ptr _nil ();

    virtual ::Security::MechandOptionsList * supported_mechanisms () = 0;

    virtual ::SecurityLevel2::CredentialsList * own_credentials () = 0;

    virtual ::SecurityLevel2::RequiredRights_ptr required_rights_object () = 0;

    virtual ::SecurityLevel2::PrincipalAuthenticator_ptr principal_authenticator () = 0;

    virtual ::SecurityLevel2::AccessDecision_ptr access_decision () = 0;

    virtual ::SecurityLevel2::AuditDecision_ptr audit_decision () = 0;

    virtual ::SecurityLevel2::TargetCredentials_ptr get_target_credentials (
      ::CORBA::Object_ptr obj_ref) = 0;

    virtual void remove_own_credentials (
      ::SecurityLevel2::Credentials_ptr creds) = 0;

    virtual ::CORBA::Policy_ptr get_security_policy (
      ::CORBA::PolicyType policy_type) = 0;

    
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:135

    

    virtual ::CORBA::Boolean _is_a (const char *type_id);
    virtual const char* _interface_repository_id () const;
    virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
  
  protected:
    // Abstract or local interface only.
    SecurityManager ();

    

    virtual ~SecurityManager () = default;
  
  private:
    // Private and unimplemented for concrete interfaces.
    SecurityManager (const SecurityManager &) = delete;
    SecurityManager (SecurityManager &&) = delete;
    SecurityManager &operator= (const SecurityManager &) = delete;
    SecurityManager &operator= (SecurityManager &&) = delete;
  };
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp:33

  extern TAO_Security_Export ::CORBA::TypeCode_ptr const _tc_SecurityManager;

  
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:39

  

  class TAO_Security_Export Current
    : public virtual ::SecurityLevel1::Current
  
  {
  public:
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_type.cpp:297

    using _ptr_type = Current_ptr;
    using _var_type = Current_var;
    using _out_type = Current_out;

    static void _tao_any_destructor (void *);

    // The static operations.
    static Current_ptr _duplicate (Current_ptr obj);

    static void _tao_release (Current_ptr obj);

    static Current_ptr _narrow (::CORBA::Object_ptr obj);
    static Current_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
    static Current_ptr _nil ();

    virtual ::SecurityLevel2::ReceivedCredentials_ptr received_credentials () = 0;

    
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:135

    

    virtual ::CORBA::Boolean _is_a (const char *type_id);
    virtual const char* _interface_repository_id () const;
    virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
  
  protected:
    // Abstract or local interface only.
    Current ();

    

    virtual ~Current () = default;
  
  private:
    // Private and unimplemented for concrete interfaces.
    Current (const Current &) = delete;
    Current (Current &&) = delete;
    Current &operator= (const Current &) = delete;
    Current &operator= (Current &&) = delete;
  };
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp:33

  extern TAO_Security_Export ::CORBA::TypeCode_ptr const _tc_Current;


// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp:62


} // module SecurityLevel2
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp:34

namespace TAO
{
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp:34

  namespace SL2
  {
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_interface.cpp:742

    

#if !defined (_TAO_SL2_ACCESSDECISION__VAR_OUT_CH_)
#define _TAO_SL2_ACCESSDECISION__VAR_OUT_CH_

    class AccessDecision;
    using AccessDecision_ptr = AccessDecision*;
    using AccessDecision_var = TAO_Objref_Var_T<AccessDecision>;
    using AccessDecision_out = TAO_Objref_Out_T<AccessDecision>;

#endif /* end #if !defined */

    
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:39

    

    class TAO_Security_Export AccessDecision
      : public virtual ::SecurityLevel2::AccessDecision
    
    {
    public:
      // TAO_IDL - Generated from
      // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_type.cpp:297

      using _ptr_type = AccessDecision_ptr;
      using _var_type = AccessDecision_var;
      using _out_type = AccessDecision_out;

      static void _tao_any_destructor (void *);

      // The static operations.
      static AccessDecision_ptr _duplicate (AccessDecision_ptr obj);

      static void _tao_release (AccessDecision_ptr obj);

      static AccessDecision_ptr _narrow (::CORBA::Object_ptr obj);
      static AccessDecision_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
      static AccessDecision_ptr _nil ();

      virtual ::CORBA::Boolean access_allowed_ex (
        const char * orb_id,
        const ::CORBA::OctetSeq & adapter_id,
        const ::CORBA::OctetSeq & object_id,
        const ::SecurityLevel2::CredentialsList & cred_list,
        const char * operation_name,
        ::CORBA::Boolean collocation_invocation) = 0;

      virtual ::CORBA::Boolean default_decision () = 0;

      virtual void default_decision (
        ::CORBA::Boolean default_decision) = 0;

      virtual ::CORBA::Boolean default_collocated_decision () = 0;

      virtual void default_collocated_decision (
        ::CORBA::Boolean default_collocated_decision) = 0;

      virtual void add_object (
        const char * orb_id,
        const ::CORBA::OctetSeq & adapter_id,
        const ::CORBA::OctetSeq & object_id,
        ::CORBA::Boolean allow_insecure_access) = 0;

      virtual void remove_object (
        const char * orb_id,
        const ::CORBA::OctetSeq & adapter_id,
        const ::CORBA::OctetSeq & object_id) = 0;

      
      // TAO_IDL - Generated from
      // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp:135

      

      virtual ::CORBA::Boolean _is_a (const char *type_id);
      virtual const char* _interface_repository_id () const;
      virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
    
    protected:
      // Abstract or local interface only.
      AccessDecision ();

      

      virtual ~AccessDecision () = default;
    
    private:
      // Private and unimplemented for concrete interfaces.
      AccessDecision (const AccessDecision &) = delete;
      AccessDecision (AccessDecision &&) = delete;
      AccessDecision &operator= (const AccessDecision &) = delete;
      AccessDecision &operator= (AccessDecision &&) = delete;
    };
    // TAO_IDL - Generated from
    // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp:33

    extern TAO_Security_Export ::CORBA::TypeCode_ptr const _tc_AccessDecision;
  
  
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp:62

  
  } // module TAO::SL2


// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp:62


} // module TAO
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_arg_traits.cpp:64




TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL


// Arg traits specializations.
namespace TAO
{
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_arg_traits.cpp:671

  

  template<>
  class Arg_Traits< ::SecurityLevel2::CredentialsList>
    : public
        Var_Size_Arg_Traits_T<
            ::SecurityLevel2::CredentialsList,
            TAO::Any_Insert_Policy_Stream
          >
  {
  };
  // TAO_IDL - Generated from
  // /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_arg_traits.cpp:142

  

#if !defined (_SECURITYLEVEL2_REQUIREDRIGHTS__ARG_TRAITS_)
#define _SECURITYLEVEL2_REQUIREDRIGHTS__ARG_TRAITS_

  template<>
  class  Arg_Traits< ::SecurityLevel2::RequiredRights>
    : public Object_Arg_Traits_T<
        ::SecurityLevel2::RequiredRights_ptr,
        ::SecurityLevel2::RequiredRights_var,
        ::SecurityLevel2::RequiredRights_out,
        TAO::Objref_Traits<SecurityLevel2::RequiredRights>,
        TAO::Any_Insert_Policy_Stream>
  {
  };

#endif /* end #if !defined */
}

TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL



// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_traits.cpp:58




TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL

// Traits specializations.
namespace TAO
{

#if !defined (_SECURITYLEVEL2_PRINCIPALAUTHENTICATOR__TRAITS_)
#define _SECURITYLEVEL2_PRINCIPALAUTHENTICATOR__TRAITS_

  template<>
  struct TAO_Security_Export Objref_Traits< ::SecurityLevel2::PrincipalAuthenticator>
  {
    static ::SecurityLevel2::PrincipalAuthenticator_ptr duplicate (::SecurityLevel2::PrincipalAuthenticator_ptr p);
    static void release (::SecurityLevel2::PrincipalAuthenticator_ptr p);
    static ::SecurityLevel2::PrincipalAuthenticator_ptr nil ();
    static ::CORBA::Boolean marshal (const ::SecurityLevel2::PrincipalAuthenticator_ptr p,TAO_OutputCDR & cdr);
  };

#endif /* end #if !defined */

#if !defined (_SECURITYLEVEL2_CREDENTIALS__TRAITS_)
#define _SECURITYLEVEL2_CREDENTIALS__TRAITS_

  template<>
  struct TAO_Security_Export Objref_Traits< ::SecurityLevel2::Credentials>
  {
    static ::SecurityLevel2::Credentials_ptr duplicate (::SecurityLevel2::Credentials_ptr p);
    static void release (::SecurityLevel2::Credentials_ptr p);
    static ::SecurityLevel2::Credentials_ptr nil ();
    static ::CORBA::Boolean marshal (const ::SecurityLevel2::Credentials_ptr p,TAO_OutputCDR & cdr);
  };

#endif /* end #if !defined */

#if !defined (_SECURITYLEVEL2_RECEIVEDCREDENTIALS__TRAITS_)
#define _SECURITYLEVEL2_RECEIVEDCREDENTIALS__TRAITS_

  template<>
  struct TAO_Security_Export Objref_Traits< ::SecurityLevel2::ReceivedCredentials>
  {
    static ::SecurityLevel2::ReceivedCredentials_ptr duplicate (::SecurityLevel2::ReceivedCredentials_ptr p);
    static void release (::SecurityLevel2::ReceivedCredentials_ptr p);
    static ::SecurityLevel2::ReceivedCredentials_ptr nil ();
    static ::CORBA::Boolean marshal (const ::SecurityLevel2::ReceivedCredentials_ptr p,TAO_OutputCDR & cdr);
  };

#endif /* end #if !defined */

#if !defined (_SECURITYLEVEL2_TARGETCREDENTIALS__TRAITS_)
#define _SECURITYLEVEL2_TARGETCREDENTIALS__TRAITS_

  template<>
  struct TAO_Security_Export Objref_Traits< ::SecurityLevel2::TargetCredentials>
  {
    static ::SecurityLevel2::TargetCredentials_ptr duplicate (::SecurityLevel2::TargetCredentials_ptr p);
    static void release (::SecurityLevel2::TargetCredentials_ptr p);
    static ::SecurityLevel2::TargetCredentials_ptr nil ();
    static ::CORBA::Boolean marshal (const ::SecurityLevel2::TargetCredentials_ptr p,TAO_OutputCDR & cdr);
  };

#endif /* end #if !defined */

#if !defined (_SECURITYLEVEL2_REQUIREDRIGHTS__TRAITS_)
#define _SECURITYLEVEL2_REQUIREDRIGHTS__TRAITS_

  template<>
  struct TAO_Security_Export Objref_Traits< ::SecurityLevel2::RequiredRights>
  {
    static ::SecurityLevel2::RequiredRights_ptr duplicate (::SecurityLevel2::RequiredRights_ptr p);
    static void release (::SecurityLevel2::RequiredRights_ptr p);
    static ::SecurityLevel2::RequiredRights_ptr nil ();
    static ::CORBA::Boolean marshal (const ::SecurityLevel2::RequiredRights_ptr p,TAO_OutputCDR & cdr);
  };

#endif /* end #if !defined */

#if !defined (_SECURITYLEVEL2_AUDITCHANNEL__TRAITS_)
#define _SECURITYLEVEL2_AUDITCHANNEL__TRAITS_

  template<>
  struct TAO_Security_Export Objref_Traits< ::SecurityLevel2::AuditChannel>
  {
    static ::SecurityLevel2::AuditChannel_ptr duplicate (::SecurityLevel2::AuditChannel_ptr p);
    static void release (::SecurityLevel2::AuditChannel_ptr p);
    static ::SecurityLevel2::AuditChannel_ptr nil ();
    static ::CORBA::Boolean marshal (const ::SecurityLevel2::AuditChannel_ptr p,TAO_OutputCDR & cdr);
  };

#endif /* end #if !defined */

#if !defined (_SECURITYLEVEL2_AUDITDECISION__TRAITS_)
#define _SECURITYLEVEL2_AUDITDECISION__TRAITS_

  template<>
  struct TAO_Security_Export Objref_Traits< ::SecurityLevel2::AuditDecision>
  {
    static ::SecurityLevel2::AuditDecision_ptr duplicate (::SecurityLevel2::AuditDecision_ptr p);
    static void release (::SecurityLevel2::AuditDecision_ptr p);
    static ::SecurityLevel2::AuditDecision_ptr nil ();
    static ::CORBA::Boolean marshal (const ::SecurityLevel2::AuditDecision_ptr p,TAO_OutputCDR & cdr);
  };

#endif /* end #if !defined */

#if !defined (_SECURITYLEVEL2_ACCESSDECISION__TRAITS_)
#define _SECURITYLEVEL2_ACCESSDECISION__TRAITS_

  template<>
  struct TAO_Security_Export Objref_Traits< ::SecurityLevel2::AccessDecision>
  {
    static ::SecurityLevel2::AccessDecision_ptr duplicate (::SecurityLevel2::AccessDecision_ptr p);
    static void release (::SecurityLevel2::AccessDecision_ptr p);
    static ::SecurityLevel2::AccessDecision_ptr nil ();
    static ::CORBA::Boolean marshal (const ::SecurityLevel2::AccessDecision_ptr p,TAO_OutputCDR & cdr);
  };

#endif /* end #if !defined */

#if !defined (_SECURITYLEVEL2_QOPPOLICY__TRAITS_)
#define _SECURITYLEVEL2_QOPPOLICY__TRAITS_

  template<>
  struct TAO_Security_Export Objref_Traits< ::SecurityLevel2::QOPPolicy>
  {
    static ::SecurityLevel2::QOPPolicy_ptr duplicate (::SecurityLevel2::QOPPolicy_ptr p);
    static void release (::SecurityLevel2::QOPPolicy_ptr p);
    static ::SecurityLevel2::QOPPolicy_ptr nil ();
    static ::CORBA::Boolean marshal (const ::SecurityLevel2::QOPPolicy_ptr p,TAO_OutputCDR & cdr);
  };

#endif /* end #if !defined */

#if !defined (_SECURITYLEVEL2_MECHANISMPOLICY__TRAITS_)
#define _SECURITYLEVEL2_MECHANISMPOLICY__TRAITS_

  template<>
  struct TAO_Security_Export Objref_Traits< ::SecurityLevel2::MechanismPolicy>
  {
    static ::SecurityLevel2::MechanismPolicy_ptr duplicate (::SecurityLevel2::MechanismPolicy_ptr p);
    static void release (::SecurityLevel2::MechanismPolicy_ptr p);
    static ::SecurityLevel2::MechanismPolicy_ptr nil ();
    static ::CORBA::Boolean marshal (const ::SecurityLevel2::MechanismPolicy_ptr p,TAO_OutputCDR & cdr);
  };

#endif /* end #if !defined */

#if !defined (_SECURITYLEVEL2_INVOCATIONCREDENTIALSPOLICY__TRAITS_)
#define _SECURITYLEVEL2_INVOCATIONCREDENTIALSPOLICY__TRAITS_

  template<>
  struct TAO_Security_Export Objref_Traits< ::SecurityLevel2::InvocationCredentialsPolicy>
  {
    static ::SecurityLevel2::InvocationCredentialsPolicy_ptr duplicate (::SecurityLevel2::InvocationCredentialsPolicy_ptr p);
    static void release (::SecurityLevel2::InvocationCredentialsPolicy_ptr p);
    static ::SecurityLevel2::InvocationCredentialsPolicy_ptr nil ();
    static ::CORBA::Boolean marshal (const ::SecurityLevel2::InvocationCredentialsPolicy_ptr p,TAO_OutputCDR & cdr);
  };

#endif /* end #if !defined */

#if !defined (_SECURITYLEVEL2_ESTABLISHTRUSTPOLICY__TRAITS_)
#define _SECURITYLEVEL2_ESTABLISHTRUSTPOLICY__TRAITS_

  template<>
  struct TAO_Security_Export Objref_Traits< ::SecurityLevel2::EstablishTrustPolicy>
  {
    static ::SecurityLevel2::EstablishTrustPolicy_ptr duplicate (::SecurityLevel2::EstablishTrustPolicy_ptr p);
    static void release (::SecurityLevel2::EstablishTrustPolicy_ptr p);
    static ::SecurityLevel2::EstablishTrustPolicy_ptr nil ();
    static ::CORBA::Boolean marshal (const ::SecurityLevel2::EstablishTrustPolicy_ptr p,TAO_OutputCDR & cdr);
  };

#endif /* end #if !defined */

#if !defined (_SECURITYLEVEL2_DELEGATIONDIRECTIVEPOLICY__TRAITS_)
#define _SECURITYLEVEL2_DELEGATIONDIRECTIVEPOLICY__TRAITS_

  template<>
  struct TAO_Security_Export Objref_Traits< ::SecurityLevel2::DelegationDirectivePolicy>
  {
    static ::SecurityLevel2::DelegationDirectivePolicy_ptr duplicate (::SecurityLevel2::DelegationDirectivePolicy_ptr p);
    static void release (::SecurityLevel2::DelegationDirectivePolicy_ptr p);
    static ::SecurityLevel2::DelegationDirectivePolicy_ptr nil ();
    static ::CORBA::Boolean marshal (const ::SecurityLevel2::DelegationDirectivePolicy_ptr p,TAO_OutputCDR & cdr);
  };

#endif /* end #if !defined */

#if !defined (_SECURITYLEVEL2_SECURITYMANAGER__TRAITS_)
#define _SECURITYLEVEL2_SECURITYMANAGER__TRAITS_

  template<>
  struct TAO_Security_Export Objref_Traits< ::SecurityLevel2::SecurityManager>
  {
    static ::SecurityLevel2::SecurityManager_ptr duplicate (::SecurityLevel2::SecurityManager_ptr p);
    static void release (::SecurityLevel2::SecurityManager_ptr p);
    static ::SecurityLevel2::SecurityManager_ptr nil ();
    static ::CORBA::Boolean marshal (const ::SecurityLevel2::SecurityManager_ptr p,TAO_OutputCDR & cdr);
  };

#endif /* end #if !defined */

#if !defined (_SECURITYLEVEL2_CURRENT__TRAITS_)
#define _SECURITYLEVEL2_CURRENT__TRAITS_

  template<>
  struct TAO_Security_Export Objref_Traits< ::SecurityLevel2::Current>
  {
    static ::SecurityLevel2::Current_ptr duplicate (::SecurityLevel2::Current_ptr p);
    static void release (::SecurityLevel2::Current_ptr p);
    static ::SecurityLevel2::Current_ptr nil ();
    static ::CORBA::Boolean marshal (const ::SecurityLevel2::Current_ptr p,TAO_OutputCDR & cdr);
  };

#endif /* end #if !defined */

#if !defined (_TAO_SL2_ACCESSDECISION__TRAITS_)
#define _TAO_SL2_ACCESSDECISION__TRAITS_

  template<>
  struct TAO_Security_Export Objref_Traits< ::TAO::SL2::AccessDecision>
  {
    static ::TAO::SL2::AccessDecision_ptr duplicate (::TAO::SL2::AccessDecision_ptr p);
    static void release (::TAO::SL2::AccessDecision_ptr p);
    static ::TAO::SL2::AccessDecision_ptr nil ();
    static ::CORBA::Boolean marshal (const ::TAO::SL2::AccessDecision_ptr p,TAO_OutputCDR & cdr);
  };

#endif /* end #if !defined */
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp:40





TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA {

TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::PrincipalAuthenticator_ptr); // copying
TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::PrincipalAuthenticator_ptr *); // non-copying
TAO_Security_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, SecurityLevel2::PrincipalAuthenticator_ptr &);
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp:40





TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA {

TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::Credentials_ptr); // copying
TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::Credentials_ptr *); // non-copying
TAO_Security_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, SecurityLevel2::Credentials_ptr &);
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_sequence/any_op_ch.cpp:46





TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA {

TAO_Security_Export void operator<<= (::CORBA::Any &, const ::SecurityLevel2::CredentialsList &); // copying version
TAO_Security_Export void operator<<= (::CORBA::Any &, ::SecurityLevel2::CredentialsList*); // noncopying version
TAO_Security_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const ::SecurityLevel2::CredentialsList *&);
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp:40





TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA {

TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::ReceivedCredentials_ptr); // copying
TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::ReceivedCredentials_ptr *); // non-copying
TAO_Security_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, SecurityLevel2::ReceivedCredentials_ptr &);
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp:40





TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA {

TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::TargetCredentials_ptr); // copying
TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::TargetCredentials_ptr *); // non-copying
TAO_Security_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, SecurityLevel2::TargetCredentials_ptr &);
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp:40





TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA {

TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::RequiredRights_ptr); // copying
TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::RequiredRights_ptr *); // non-copying
TAO_Security_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, SecurityLevel2::RequiredRights_ptr &);
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp:40





TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA {

TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::AuditChannel_ptr); // copying
TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::AuditChannel_ptr *); // non-copying
TAO_Security_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, SecurityLevel2::AuditChannel_ptr &);
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp:40





TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA {

TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::AuditDecision_ptr); // copying
TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::AuditDecision_ptr *); // non-copying
TAO_Security_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, SecurityLevel2::AuditDecision_ptr &);
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp:40





TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA {

TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::AccessDecision_ptr); // copying
TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::AccessDecision_ptr *); // non-copying
TAO_Security_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, SecurityLevel2::AccessDecision_ptr &);
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp:40





TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA {

TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::QOPPolicy_ptr); // copying
TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::QOPPolicy_ptr *); // non-copying
TAO_Security_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, SecurityLevel2::QOPPolicy_ptr &);
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp:40





TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA {

TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::MechanismPolicy_ptr); // copying
TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::MechanismPolicy_ptr *); // non-copying
TAO_Security_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, SecurityLevel2::MechanismPolicy_ptr &);
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp:40





TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA {

TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::InvocationCredentialsPolicy_ptr); // copying
TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::InvocationCredentialsPolicy_ptr *); // non-copying
TAO_Security_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, SecurityLevel2::InvocationCredentialsPolicy_ptr &);
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp:40





TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA {

TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::EstablishTrustPolicy_ptr); // copying
TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::EstablishTrustPolicy_ptr *); // non-copying
TAO_Security_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, SecurityLevel2::EstablishTrustPolicy_ptr &);
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp:40





TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA {

TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::DelegationDirectivePolicy_ptr); // copying
TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::DelegationDirectivePolicy_ptr *); // non-copying
TAO_Security_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, SecurityLevel2::DelegationDirectivePolicy_ptr &);
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp:40





TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA {

TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::SecurityManager_ptr); // copying
TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::SecurityManager_ptr *); // non-copying
TAO_Security_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, SecurityLevel2::SecurityManager_ptr &);
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp:40





TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA {

TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::Current_ptr); // copying
TAO_Security_Export void operator<<= (::CORBA::Any &, SecurityLevel2::Current_ptr *); // non-copying
TAO_Security_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, SecurityLevel2::Current_ptr &);
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp:40





TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA {

TAO_Security_Export void operator<<= (::CORBA::Any &, TAO::SL2::AccessDecision_ptr); // copying
TAO_Security_Export void operator<<= (::CORBA::Any &, TAO::SL2::AccessDecision_ptr *); // non-copying
TAO_Security_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, TAO::SL2::AccessDecision_ptr &);
}
TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL





// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/cdr_op_ch.cpp:40




TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL

TAO_Security_Export ::CORBA::Boolean operator<< (TAO_OutputCDR &, const SecurityLevel2::RequiredRights_ptr );
TAO_Security_Export ::CORBA::Boolean operator>> (TAO_InputCDR &, SecurityLevel2::RequiredRights_ptr &);

TAO_END_VERSIONED_NAMESPACE_DECL


TAO_BEGIN_VERSIONED_NAMESPACE_DECL



// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_codegen.cpp:1648



TAO_END_VERSIONED_NAMESPACE_DECL

#if defined (__ACE_INLINE__)
#include "SecurityLevel2C.inl"
#endif /* defined INLINE */

#include /**/ "ace/post.h"

#endif /* ifndef */

