public class SampleSiteOsidConfiguration extends Object implements SiteOsidConfiguration
| Modifier and Type | Field and Description |
|---|---|
static String |
CATEGORIES_XML |
static String |
CONFIGURATION_XML |
static String |
FULL_ACCESS_GROUP |
static String |
GUEST_ACCESS_GROUP |
| Constructor and Description |
|---|
SampleSiteOsidConfiguration()
Simple public constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getConfigurationXml()
Fetch the appropriate XML configuration document for this user.
|
String |
getDatabaseHierarchyXml()
/**
Fetch the appropriate XML database document for this user.
|
List<String> |
getGroupIds()
Fetch this user's group affiliations (ALL in this example)
|
void |
init()
Initialization - do whatever is appropriate here
|
public static final String CATEGORIES_XML
public static final String CONFIGURATION_XML
public static final String FULL_ACCESS_GROUP
public static final String GUEST_ACCESS_GROUP
public SampleSiteOsidConfiguration()
public void init()
throws OsidConfigurationException
init in interface SiteOsidConfigurationOsidConfigurationExceptionpublic String getConfigurationXml() throws OsidConfigurationException
Return null to force the use of the siteConfigXml property from components.xml
getConfigurationXml in interface SiteOsidConfigurationOsidConfigurationExceptionpublic String getDatabaseHierarchyXml() throws OsidConfigurationException
Return null to force the use of the databaseXml property from components.xml
getDatabaseHierarchyXml in interface SiteOsidConfigurationOsidConfigurationExceptionpublic List<String> getGroupIds() throws OsidConfigurationException
getGroupIds in interface SiteOsidConfigurationOsidConfigurationExceptionCopyright © 2003–2016 The Sakai Foundation. All rights reserved.