Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013

ch.unibe.iam.scg.archie.acl
Class ArchieACL

java.lang.Object
  extended by ch.unibe.iam.scg.archie.acl.ArchieACL
All Implemented Interfaces:
IACLContributor

public class ArchieACL
extends java.lang.Object
implements IACLContributor

Handles the access to Archie based on access control lists defined in Elexis properties.
$Id$


Field Summary
static ACE USE_ARCHIE
          Access control string that will be displayed in the ACL.
 
Constructor Summary
ArchieACL()
           
 
Method Summary
 ACE[] getACL()
          Returns the ACL for this plugin.
 ACE[] reject(ACE[] acl)
          The framework will call this method if one ore more of the transmitted ACL's could not be integrated (illegal name or duplicate)
static boolean userHasAccess()
          Static function to check whether the currently active user has access to archie or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USE_ARCHIE

public static final ACE USE_ARCHIE
Access control string that will be displayed in the ACL.

Constructor Detail

ArchieACL

public ArchieACL()
Method Detail

getACL

public ACE[] getACL()
Returns the ACL for this plugin.

Specified by:
getACL in interface IACLContributor
Returns:
String[]

reject

public ACE[] reject(ACE[] acl)
The framework will call this method if one ore more of the transmitted ACL's could not be integrated (illegal name or duplicate)

Specified by:
reject in interface IACLContributor
Parameters:
acl - array of all rejected acls (these have not been integrated)
Returns:
the plugin can return an array of corrected acls or null.

userHasAccess

public static boolean userHasAccess()
Static function to check whether the currently active user has access to archie or not.

Returns:
boolean True if the current user can access archie, false else.

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013