project35.soa.security
Interface SecurityService

All Known Implementing Classes:
DummySecurityService

public interface SecurityService

an interface for a SecurityService. Project35 and Pierre will use implementations of this interface to determine whether an end-user should see features.


Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.


Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)

Method Summary
 AccessRights getFeatureAccessRights(java.lang.String featureCode, User user)
           
 AccessRights getFieldAccessRights(java.lang.String recordClassName, java.lang.String fieldName, User user)
           
 AccessRights getRecordAccessRights(java.lang.String recordClassName, User user)
           
 void setParameters(Parameter[] parameters)
           
 void setWorkSpace(Workspace workSpace)
           
 

Method Detail

getFieldAccessRights

AccessRights getFieldAccessRights(java.lang.String recordClassName,
                                  java.lang.String fieldName,
                                  User user)

getRecordAccessRights

AccessRights getRecordAccessRights(java.lang.String recordClassName,
                                   User user)

getFeatureAccessRights

AccessRights getFeatureAccessRights(java.lang.String featureCode,
                                    User user)

setParameters

void setParameters(Parameter[] parameters)

setWorkSpace

void setWorkSpace(Workspace workSpace)