org.nees.authz
Interface CASPullAdapter

All Superinterfaces:
CASAdapter
All Known Implementing Classes:
OGSICASAdapter, PseudoCASAdapter

public interface CASPullAdapter
extends CASAdapter

Generic interface for querying CAS for group membership information.


Field Summary
 
Fields inherited from interface org.nees.authz.CASAdapter
ALL_USERS_GROUP_ID
 
Method Summary
 javax.xml.namespace.QName[] getGroups()
          Returns all groups.
 javax.xml.namespace.QName[] getGroups(java.lang.String dn)
          Returns which groups the user is in.
 
Methods inherited from interface org.nees.authz.CASAdapter
setId
 

Method Detail

getGroups

public javax.xml.namespace.QName[] getGroups(java.lang.String dn)
                                      throws CASAdapterException
Returns which groups the user is in.

Parameters:
dn - the user's distinguished name
Returns:
the groups the user is in
Throws:
CASAdapterException

getGroups

public javax.xml.namespace.QName[] getGroups()
                                      throws CASAdapterException
Returns all groups.

Returns:
the groups.
Throws:
CASAdapterException