All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class orbasec.corba.SecurityAttributes

java.lang.Object
   |
   +----orbasec.corba.SecurityAttributes

public class SecurityAttributes
extends Object

Constructor Index

 o SecurityAttributes()

Method Index

 o add(SecAttribute)
 o add(SecAttribute[])
 o attributes()
 o find(AttributeType)
 o find(AttributeType[])
 o find_first(AttributeType)
 o remove(AttributeType)
 o remove(AttributeType[])
 o remove(SecAttribute)
 o remove(SecAttribute[])
Removes attributes from the stored attributes by CredUtil.equals, which is straight byte comparisons on defining authority and value.
 o replace(SecAttribute)
 o replace_or_add(SecAttribute)
 o replace_or_add(SecAttribute[])
 o sort_by_type()

Constructors

 o SecurityAttributes
 public SecurityAttributes()

Methods

 o attributes
 public synchronized SecAttribute[] attributes()
 o find
 public synchronized SecAttribute[] find(AttributeType type)
 o find_first
 public synchronized SecAttribute find_first(AttributeType type)
 o find
 public synchronized SecAttribute[] find(AttributeType types[])
 o add
 public synchronized void add(SecAttribute attr)
 o add
 public synchronized void add(SecAttribute attrs[])
 o replace
 public synchronized boolean replace(SecAttribute attr)
 o replace_or_add
 public synchronized void replace_or_add(SecAttribute attr)
 o replace_or_add
 public synchronized void replace_or_add(SecAttribute attrs[])
 o remove
 public synchronized boolean remove(AttributeType type)
 o remove
 public synchronized boolean remove(AttributeType types[])
 o remove
 public synchronized boolean remove(SecAttribute attr)
 o remove
 public synchronized boolean remove(SecAttribute attrs[])
Removes attributes from the stored attributes by CredUtil.equals, which is straight byte comparisons on defining authority and value. This stored attributes are only changed if all the attributes are removed. That is the stored list is guarrateed to be attrs.length shorter, or it is not changed at all.

Returns:
true if all attrs were removed from the stored attributes.
 o sort_by_type
 public synchronized SecAttribute[] sort_by_type()

All Packages  Class Hierarchy  This Package  Previous  Next  Index