JAAS Provider Java API Reference
10g (9.0.4.0.0)

B10389-01

oracle.security.jazn.policy
Interface RealmPolicy

All Superinterfaces:
JAZNPolicy

public interface RealmPolicy
extends JAZNPolicy

A Realm-specific Policy.

NOTE: This interface is for Oracle-internal use only and is subject to change without notice.


Method Summary
 boolean createGrantee(Grantee grantee)
          Creates a new grantee in this policy.
 boolean dropGrantee(Grantee grantee, boolean cascade)
          Drops an existing grantee from this policy.
 Collection getGrantees()
          Returns the grantees of this policy.
 Realm getRealm()
          Returns the realm associated with this policy.

 

Methods inherited from interface oracle.security.jazn.policy.JAZNPolicy
getPermissions, getPermissions, getPermissions, getPermissions, grant, hasPermission, refresh, revoke

 

Method Detail

getRealm

public Realm getRealm()
               throws JAZNException
Returns the realm associated with this policy.
Returns:
the realm associated with this policy.
JAZNException

getGrantees

public Collection getGrantees()
                       throws JAZNException
Returns the grantees of this policy.
Returns:
the grantees of this policy.
JAZNException

createGrantee

public boolean createGrantee(Grantee grantee)
                      throws JAZNException
Creates a new grantee in this policy.
Parameters:
grantee - the new grantee
JAZNException

dropGrantee

public boolean dropGrantee(Grantee grantee,
                           boolean cascade)
                    throws JAZNException
Drops an existing grantee from this policy.
Parameters:
grantee - the grantee to be dropped.
cascade - whether this is a cascading drop.
JAZNException

JAAS Provider Java API Reference
10g (9.0.4.0.0)

B10389-01

Copyright 2002, 2003 Oracle Corporation. All Rights Reserved.