Interface IAuthorizationDomainManager
-
- All Known Implementing Classes:
AuthorizationDomainManager
public interface IAuthorizationDomainManagerThis interface describes the authorization domain registry. Authorization domains are registered here, so that they can be made available when an authority connection is created.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeinstall()Uninstall.java.lang.StringgetDescription(java.lang.String domainName)Get a description given a domain name.IResultSetgetDomains()Get ordered list of domains.voidinstall()Install.voidregisterDomain(java.lang.String description, java.lang.String domainName)Register a new domain.voidunregisterDomain(java.lang.String domainName)Unregister a domain.
-
-
-
Method Detail
-
install
void install() throws ManifoldCFExceptionInstall.- Throws:
ManifoldCFException
-
deinstall
void deinstall() throws ManifoldCFExceptionUninstall.- Throws:
ManifoldCFException
-
registerDomain
void registerDomain(java.lang.String description, java.lang.String domainName) throws ManifoldCFExceptionRegister a new domain.- Parameters:
description- is the description to use in the UI.domainName- is the internal domain name used by the authority service.- Throws:
ManifoldCFException
-
unregisterDomain
void unregisterDomain(java.lang.String domainName) throws ManifoldCFExceptionUnregister a domain. This may fail if any authority connections refer to the domain.- Parameters:
domainName- is the internal domain name to unregister.- Throws:
ManifoldCFException
-
getDomains
IResultSet getDomains() throws ManifoldCFException
Get ordered list of domains.- Returns:
- a resultset with the columns "description" and "domainname". These will be ordered by description.
- Throws:
ManifoldCFException
-
getDescription
java.lang.String getDescription(java.lang.String domainName) throws ManifoldCFExceptionGet a description given a domain name.- Parameters:
domainName- is the domain name.- Returns:
- the description, or null if the domain is not registered.
- Throws:
ManifoldCFException
-
-