org.jacorb.security.level2
Class CurrentImpl

java.lang.Object
  extended byorg.omg.CORBA.LocalObject
      extended byorg.jacorb.security.level2.CurrentImpl
All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable, Current, Current, Current, CurrentOperations, CurrentOperations, CurrentOperations, IDLEntity, LocalInterface, Object, java.io.Serializable

public class CurrentImpl
extends LocalObject
implements Current, org.apache.avalon.framework.configuration.Configurable

Version:
$Id: CurrentImpl.java,v 1.16 2004/05/06 12:40:01 nicolas Exp $
Author:
Nicolas Noffke, Gerald Brose, Andr? Benvenuti
See Also:
Serialized Form

Constructor Summary
CurrentImpl(ORB orb)
           
 
Method Summary
 AccessDecision access_decision()
           
 AuditDecision audit_decision()
           
 void close()
           
 void configure(org.apache.avalon.framework.configuration.Configuration myConfiguration)
           
 InvocationCredentialsPolicy create_invoc_creds_policy(Credentials[] creds)
           
 MechanismPolicy create_mechanism_policy(java.lang.String[] mechanisms)
           
 QOPPolicy create_qop_policy(QOP qop)
           
 void finalize()
           
 SecAttribute[] get_attributes(AttributeType[] types)
          thread specific, from SecurityLevel1
 Credentials[] get_credentials(CredentialType cred_type)
           
 Policy get_policy(int policy_type)
           
 SecurityMechanismData[] get_security_mechanisms(Object obj_ref)
           
 org.apache.avalon.framework.logger.Logger getLogger()
          used by interceptors
 KeyAndCert[] getSSLCredentials()
           
 void init()
           
 Credentials[] own_credentials()
           
 PrincipalAuthenticator principal_authenticator()
           
 ReceivedCredentials received_credentials()
           
 SecurityFeature[] received_security_features()
           
 void remove_own_credentials(Credentials credentials)
          This will remove the passed Credentials from the list of own_credentials.
 void remove_received_credentials()
           
 RequiredRights required_rights_object()
           
 void set_credentials(CredentialType cred_type, Credentials[] creds, DelegationMode del)
           
 void set_received_credentials(ReceivedCredentials creds)
           
 MechandOptions[] supported_mechanisms()
           
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _ids, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

CurrentImpl

public CurrentImpl(ORB orb)
Method Detail

configure

public void configure(org.apache.avalon.framework.configuration.Configuration myConfiguration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Throws:
org.apache.avalon.framework.configuration.ConfigurationException

init

public void init()

getLogger

public org.apache.avalon.framework.logger.Logger getLogger()
used by interceptors


get_attributes

public SecAttribute[] get_attributes(AttributeType[] types)
thread specific, from SecurityLevel1

Specified by:
get_attributes in interface CurrentOperations

received_credentials

public ReceivedCredentials received_credentials()
Specified by:
received_credentials in interface CurrentOperations

set_credentials

public void set_credentials(CredentialType cred_type,
                            Credentials[] creds,
                            DelegationMode del)
Specified by:
set_credentials in interface CurrentOperations

set_received_credentials

public void set_received_credentials(ReceivedCredentials creds)

remove_received_credentials

public void remove_received_credentials()

get_credentials

public Credentials[] get_credentials(CredentialType cred_type)
Specified by:
get_credentials in interface CurrentOperations

own_credentials

public Credentials[] own_credentials()
Specified by:
own_credentials in interface CurrentOperations

remove_own_credentials

public void remove_own_credentials(Credentials credentials)
This will remove the passed Credentials from the list of own_credentials. The passed object has to be the same instance as the one to be removed.

Specified by:
remove_own_credentials in interface CurrentOperations

received_security_features

public SecurityFeature[] received_security_features()

get_policy

public Policy get_policy(int policy_type)
Specified by:
get_policy in interface CurrentOperations

supported_mechanisms

public MechandOptions[] supported_mechanisms()
Specified by:
supported_mechanisms in interface CurrentOperations

get_security_mechanisms

public SecurityMechanismData[] get_security_mechanisms(Object obj_ref)
Specified by:
get_security_mechanisms in interface CurrentOperations

required_rights_object

public RequiredRights required_rights_object()
Specified by:
required_rights_object in interface CurrentOperations

principal_authenticator

public PrincipalAuthenticator principal_authenticator()
Specified by:
principal_authenticator in interface CurrentOperations

access_decision

public AccessDecision access_decision()
Specified by:
access_decision in interface CurrentOperations

audit_decision

public AuditDecision audit_decision()
Specified by:
audit_decision in interface CurrentOperations

create_qop_policy

public QOPPolicy create_qop_policy(QOP qop)
Specified by:
create_qop_policy in interface CurrentOperations

create_mechanism_policy

public MechanismPolicy create_mechanism_policy(java.lang.String[] mechanisms)
Specified by:
create_mechanism_policy in interface CurrentOperations

create_invoc_creds_policy

public InvocationCredentialsPolicy create_invoc_creds_policy(Credentials[] creds)
Specified by:
create_invoc_creds_policy in interface CurrentOperations

getSSLCredentials

public KeyAndCert[] getSSLCredentials()

close

public void close()

finalize

public void finalize()