public class DefaultFactory extends java.lang.Object implements PermissionFactory, CredentialFactory, GroupConfigFactory
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultFactory.FormatException |
| Constructor and Description |
|---|
DefaultFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.opendof.core.oal.DOFCredentials |
createCredentials(java.lang.String format,
org.opendof.core.oal.DOFObjectID.Domain domainID)
Create a DOFCredentials with the given format.
|
org.opendof.core.oal.DOFAuthenticator.SecureGroupNode.GroupConfig |
createGroupConfig(java.lang.String format)
Create a GroupConfig with the given format.
|
org.opendof.core.oal.security.DOFPermissionSet |
createPermissions(java.lang.String format)
Create a DOFPermissionSet with the given format.
|
java.lang.String |
getCredentialsHelpMessage()
Get a help message for this factory format.
|
java.lang.String |
getGroupConfigHelpMessage()
Get a help message for this factory format.
|
java.lang.String |
getPermissionHelpMessage()
Get a help message for this factory format.
|
static java.lang.String |
toString(org.opendof.core.oal.DOFAuthenticator.SecureGroupNode.GroupConfig groupConfig) |
static java.lang.String |
toString(org.opendof.core.oal.security.DOFPermission permission) |
public org.opendof.core.oal.security.DOFPermissionSet createPermissions(java.lang.String format)
throws java.lang.Exception
PermissionFactorycreatePermissions in interface PermissionFactoryformat - The format string.java.lang.Exception - If the format is not recognized by this factory.public org.opendof.core.oal.DOFCredentials createCredentials(java.lang.String format,
org.opendof.core.oal.DOFObjectID.Domain domainID)
throws java.lang.Exception
CredentialFactorycreateCredentials in interface CredentialFactoryformat - The format string.domainID - The domainID to use. May be null.java.lang.Exception - If the format is not recognized by this factory.public org.opendof.core.oal.DOFAuthenticator.SecureGroupNode.GroupConfig createGroupConfig(java.lang.String format)
throws java.lang.Exception
GroupConfigFactorycreateGroupConfig in interface GroupConfigFactoryformat - The format string.java.lang.Exception - If the format is not recognized by this factory.public static java.lang.String toString(org.opendof.core.oal.security.DOFPermission permission)
public static java.lang.String toString(org.opendof.core.oal.DOFAuthenticator.SecureGroupNode.GroupConfig groupConfig)
public java.lang.String getGroupConfigHelpMessage()
GroupConfigFactorygetGroupConfigHelpMessage in interface GroupConfigFactorypublic java.lang.String getCredentialsHelpMessage()
CredentialFactorygetCredentialsHelpMessage in interface CredentialFactorypublic java.lang.String getPermissionHelpMessage()
PermissionFactorygetPermissionHelpMessage in interface PermissionFactory