org.jacorb.security.level2

Class CurrentImpl

Implemented Interfaces:
Configurable, Current, Current, Current, CurrentOperations, CurrentOperations, CurrentOperations, IDLEntity, LocalInterface, Object, java.io.Serializable

public class CurrentImpl
extends LocalObject
implements Current, Configurable

Version:
$Id: CurrentImpl.java,v 1.16 2004/05/06 12:40:01 nicolas Exp $

Author:
Nicolas Noffke, Gerald Brose, Andr? Benvenuti

Constructor Summary

CurrentImpl(ORB orb)

Method Summary

AccessDecision
access_decision()
AuditDecision
audit_decision()
void
close()
void
configure(Configuration myConfiguration)
InvocationCredentialsPolicy
create_invoc_creds_policy(Credentials creds)
MechanismPolicy
create_mechanism_policy(String[] mechanisms)
QOPPolicy
create_qop_policy(QOP qop)
void
finalize()
Logger
getLogger()
used by interceptors
KeyAndCert[]
getSSLCredentials()
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)
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, _get_interface_def, _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

Constructor Details

CurrentImpl

public CurrentImpl(ORB orb)

Method Details

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


close

public void close()


configure

public void configure(Configuration myConfiguration)
            throws ConfigurationException


create_invoc_creds_policy

public InvocationCredentialsPolicy create_invoc_creds_policy(Credentials creds)


create_mechanism_policy

public MechanismPolicy create_mechanism_policy(String[] mechanisms)


create_qop_policy

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


finalize

public void finalize()


getLogger

public Logger getLogger()
used by interceptors


getSSLCredentials

public KeyAndCert[] getSSLCredentials()


get_attributes

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


get_credentials

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


get_policy

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


get_security_mechanisms

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


init

public void init()


own_credentials

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


principal_authenticator

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


received_credentials

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


received_security_features

public SecurityFeature[] received_security_features()


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


remove_received_credentials

public void remove_received_credentials()


required_rights_object

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


set_credentials

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


set_received_credentials

public void set_received_credentials(ReceivedCredentials creds)


supported_mechanisms

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