com.sage.orion.sdata.servlet.swtservice
Class AuthorizatorFinder

java.lang.Object
  extended by com.sage.orion.sdata.servlet.swtservice.AuthorizatorFinder

public class AuthorizatorFinder
extends java.lang.Object

The class is used to find the proper authorizators for specific ResourceKind.


Constructor Summary
AuthorizatorFinder()
           
 
Method Summary
static java.util.List<SwtServiceAuthorizator> getAuthorizators(JDBCResourceKind resourceKind)
          Gets the authorizators for the resource kind.
static java.util.List<SwtServiceAuthorizator> getAuthorizators(UserInfo user, JDBCResourceKind resourceKind)
          Gets the authorizators for the user to access the specific resource kind.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizatorFinder

public AuthorizatorFinder()
Method Detail

getAuthorizators

public static java.util.List<SwtServiceAuthorizator> getAuthorizators(JDBCResourceKind resourceKind)
Gets the authorizators for the resource kind.

Parameters:
resourceKind - The resource kind.
Returns:
A list of authorizators.

getAuthorizators

public static java.util.List<SwtServiceAuthorizator> getAuthorizators(UserInfo user,
                                                                      JDBCResourceKind resourceKind)
Gets the authorizators for the user to access the specific resource kind.

Parameters:
user - The signed on user.
resourceKind - The resource kind.
Returns:
A list of authorizators.


Copyright © 2011 Sage Software, Inc. All rights reserved.