Esri Geoportal Server
1.0

com.esri.gpt.server.assertion.components
Class AsnPrincipals

java.lang.Object
  extended by com.esri.gpt.server.assertion.components.AsnPrincipals

public class AsnPrincipals
extends Object

A collection of security principal URNs.


Constructor Summary
AsnPrincipals()
          Default constructor.
AsnPrincipals(AsnPrincipals objectToDuplicate)
          Construct by duplicating an existing object.
 
Method Summary
 void add(String principalURN)
          Adds a principal URN to the collection.
 void clear()
          Clears the collection.
 boolean contains(String principalURN)
          Determines if a principal URN is contained within the collection.
 AsnPrincipals duplicate()
          Produces a deep clone of the object.
 Collection<String> values()
          Gets the collection of values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsnPrincipals

public AsnPrincipals()
Default constructor.


AsnPrincipals

public AsnPrincipals(AsnPrincipals objectToDuplicate)
Construct by duplicating an existing object.

Parameters:
objectToDuplicate - the object to duplicate
Method Detail

add

public void add(String principalURN)
Adds a principal URN to the collection.

Parameters:
principalURN - the principal URN

clear

public void clear()
Clears the collection.


contains

public boolean contains(String principalURN)
Determines if a principal URN is contained within the collection.

Parameters:
principalURN - the principal URN to check

duplicate

public AsnPrincipals duplicate()
Produces a deep clone of the object.
The duplication constructor is invoked.
return new AsnPrincipals(this);

Returns:
the duplicated object

values

public Collection<String> values()
Gets the collection of values.

Returns:
the values

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.