***  This class provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.user
Class CredentialPermissionCollection

com.sas.services.user.CredentialPermissionCollection
All Implemented Interfaces:
java.io.Serializable

public final class CredentialPermissionCollection
implements java.io.Serializable

Collection of credential permissions.

Since:
1.0
See Also:
Serialized Form

Constructor Summary
CredentialPermissionCollection()
          Constructs a default collection of credential permissions.
 
Method Summary
 void add(java.security.Permission permission)
          Adds a credential permission.
 java.util.Enumeration elements()
          Gets an enumeration of the elements.
 boolean implies(java.security.Permission permission)
          Determines whether or not permission is allowed.
 

Constructor Detail

CredentialPermissionCollection

public CredentialPermissionCollection()
Constructs a default collection of credential permissions.

Method Detail

add

public void add(java.security.Permission permission)
Adds a credential permission.

Specified by:
add in class java.security.PermissionCollection
Parameters:
permission - Credential permission to be added.
Throws:
java.lang.IllegalArgumentException - if the specified permission is not a credential permission.
java.lang.SecurityException - if this permission collection is not updateable.

implies

public boolean implies(java.security.Permission permission)
Determines whether or not permission is allowed.

Specified by:
implies in class java.security.PermissionCollection
Parameters:
permission - Permission to determine if implied.
Returns:
true if permission is allowed.

elements

public java.util.Enumeration elements()
Gets an enumeration of the elements.

Specified by:
elements in class java.security.PermissionCollection
Returns:
Enumeration.

***  This class provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.