Class AccessResolverFactory
java.lang.Object
edu.internet2.middleware.grouper.privs.AccessResolverFactory
Factory for returning a
AccessResolver
.- Since:
- 1.2.1
- Version:
- $Id: AccessResolverFactory.java,v 1.6 2009-08-11 20:18:08 mchyzer Exp $
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AccessResolver
getInstance
(GrouperSession session) static AccessResolver
getInstance
(GrouperSession session, AccessAdapter access) Returns chain of access resolvers.static AccessResolver
getResolver
(GrouperSession session)
-
Constructor Details
-
AccessResolverFactory
public AccessResolverFactory()
-
-
Method Details
-
getInstance
- Returns:
AccessResolver
instance.- Throws:
IllegalArgumentException
- if any parameter is null.- Since:
- 1.2.1
-
getInstance
public static AccessResolver getInstance(GrouperSession session, AccessAdapter access) throws GrouperException, IllegalArgumentException Returns chain of access resolvers.Order of execution:
- Returns:
AccessResolver
instance.- Throws:
GrouperException
- if unable to get instance.IllegalArgumentException
- if any parameter is null.- Since:
- 1.2.1
-
getResolver
public static AccessResolver getResolver(GrouperSession session) throws GrouperException, IllegalArgumentException - Returns:
- Singleton
AccessResolver
. - Throws:
GrouperException
- if unable to get resolver.IllegalArgumentException
- if any parameter is null.- Since:
- 1.2.1
-