org.jacorb.security.level2
Class CurrentImpl

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

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
 

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


received_credentials

public ReceivedCredentials received_credentials()

set_credentials

public void set_credentials(CredentialType cred_type,
                            Credentials[] creds,
                            DelegationMode del)

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)

own_credentials

public Credentials[] own_credentials()

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.


received_security_features

public SecurityFeature[] received_security_features()

get_policy

public Policy get_policy(int policy_type)

supported_mechanisms

public MechandOptions[] supported_mechanisms()

get_security_mechanisms

public SecurityMechanismData[] get_security_mechanisms(Object obj_ref)

required_rights_object

public RequiredRights required_rights_object()

principal_authenticator

public PrincipalAuthenticator principal_authenticator()

access_decision

public AccessDecision access_decision()

audit_decision

public AuditDecision audit_decision()

create_qop_policy

public QOPPolicy create_qop_policy(QOP qop)

create_mechanism_policy

public MechanismPolicy create_mechanism_policy(java.lang.String[] mechanisms)

create_invoc_creds_policy

public InvocationCredentialsPolicy create_invoc_creds_policy(Credentials[] creds)

getSSLCredentials

public KeyAndCert[] getSSLCredentials()

close

public void close()

finalize

public void finalize()
Overrides:
finalize in class java.lang.Object