All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class orbasec.corba.TrustedAuthorityPolicy

java.lang.Object
   |
   +----orbasec.corba.LocalObject
           |
           +----orbasec.corba.TrustedAuthorityPolicy

public class TrustedAuthorityPolicy
extends LocalObject
implements TrustedAuthorityPolicy
This class represents an Invocation Credentials Policy that uses a given set of credentials.


Constructor Index

 o TrustedAuthorityPolicy(TrustedAuthority[], TrustedAuthority[], TrustedAuthority[])
This constructor creates a orbasec.SecLev2.TrustedAuthorityPolicy.

Method Index

 o client_peer_trusted_authorities()
If we are the client, we trust these authorities of servers we authenticate.
 o copy()
Deep copy of Policy.
 o destroy()
Does nothing.
 o equals(Object)
Should we be using _is_equivalent?
 o own_trusted_authorities()
If we are an application we trust these authorities for our credentials we acquire and authenticate.
 o policy_type()
Returns orbasec.SecLev2.SecTrustedAuthorityPolicy.value;
 o server_peer_trusted_authorities()
If we are the server, we trust these authorities of the clients that we authenticated.

Constructors

 o TrustedAuthorityPolicy
 public TrustedAuthorityPolicy(TrustedAuthority own_trusted_authorities[],
                               TrustedAuthority client_peer_trusted_authorities[],
                               TrustedAuthority server_peer_trusted_authorities[])
This constructor creates a orbasec.SecLev2.TrustedAuthorityPolicy. This policy governs the acceptance of authenticated credentials base on trust of the authority.

Parameters:
own_trusted_authorities - The mechanism and names of the authorities trusted for authentication of "own" credentials.
client_peer_trusted_authorities - The mechanism and names of the authorities trusted for authentication of a server's credentials if we are the client.
server_peer_trusted_authorities - The mechanism and names of the authorities trusted for authentication of a client's credentials if we are the server.

Methods

 o equals
 public boolean equals(Object obj)
Should we be using _is_equivalent?

Overrides:
equals in class Object
 o policy_type
 public int policy_type()
Returns orbasec.SecLev2.SecTrustedAuthorityPolicy.value;

 o copy
 public Policy copy()
Deep copy of Policy.

 o destroy
 public void destroy()
Does nothing.

 o own_trusted_authorities
 public TrustedAuthority[] own_trusted_authorities()
If we are an application we trust these authorities for our credentials we acquire and authenticate. If this list is empty, all authorities are considered trusted.

 o client_peer_trusted_authorities
 public TrustedAuthority[] client_peer_trusted_authorities()
If we are the client, we trust these authorities of servers we authenticate. If this list is empty, all authorities are considered trusted.

 o server_peer_trusted_authorities
 public TrustedAuthority[] server_peer_trusted_authorities()
If we are the server, we trust these authorities of the clients that we authenticated. If this list is empty, all authorities are considered trusted.


All Packages  Class Hierarchy  This Package  Previous  Next  Index