project35.soa.security
Class DummySecurityService

java.lang.Object
  extended by project35.soa.security.DummySecurityService
All Implemented Interfaces:
SecurityService

public class DummySecurityService
extends java.lang.Object
implements SecurityService

a dummy security service that allows any user access to anything. this acts like a stub for security services. in future, Project35 and Pierre will support security services that can help applications control user-access to 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)

Constructor Summary
DummySecurityService()
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummySecurityService

public DummySecurityService()
Method Detail

getFieldAccessRights

public AccessRights getFieldAccessRights(java.lang.String recordClassName,
                                         java.lang.String fieldName,
                                         User user)
Specified by:
getFieldAccessRights in interface SecurityService

getRecordAccessRights

public AccessRights getRecordAccessRights(java.lang.String recordClassName,
                                          User user)
Specified by:
getRecordAccessRights in interface SecurityService

getFeatureAccessRights

public AccessRights getFeatureAccessRights(java.lang.String featureCode,
                                           User user)
Specified by:
getFeatureAccessRights in interface SecurityService

setParameters

public void setParameters(Parameter[] parameters)
Specified by:
setParameters in interface SecurityService

setWorkSpace

public void setWorkSpace(Workspace workSpace)
Specified by:
setWorkSpace in interface SecurityService