Uses of Class
com.sun.identity.sm.SMSException
-
Packages that use SMSException Package Description com.iplanet.am.sdk This package contains interfaces and implementation for User/Identity Management.com.iplanet.dpro.session This package contains classes that represents a session and its all session related informationcom.iplanet.services.cdm Provides the classes for implementing services and applications serving multiple clients to OpenAM.com.iplanet.services.ldap Deprecated classes for LDAP support.com.iplanet.services.naming.service com.sun.identity.authentication.config This package contains the classes that represent server side functionality such as the implementation of Authentication configuration and utilities for this configuration management.com.sun.identity.authentication.service com.sun.identity.cli com.sun.identity.common This packages contains commonly used constants and utilities.com.sun.identity.common.admin com.sun.identity.common.configuration com.sun.identity.password.ui.model com.sun.identity.policy Provides classes for policy administration and evaluation.com.sun.identity.setup com.sun.identity.sm Provides classes for accessing the Service Management Service (SMS).com.sun.identity.sm.flatfile com.sun.identity.sm.jaxrpc com.sun.identity.sm.ldap Provides Classes for Creating, Reading, Updating, Deleting and Listing Core Tokens.org.forgerock.openam.agent org.forgerock.openam.authentication.modules.persistentcookie This package contains classes Authentication using a Persistent Cookie.org.forgerock.openam.core org.forgerock.openam.core.rest.devices.services This package contains classes for the OpenAM Authenticator OATH implementation.org.forgerock.openam.core.rest.devices.services.oath This package contains classes for oath device attribute management.org.forgerock.openam.core.rest.devices.services.push This package contains classes for push device attribute management.org.forgerock.openam.core.rest.sms org.forgerock.openam.security.whitelist org.forgerock.openam.services.cdm org.forgerock.openam.services.push Defines classes for the Push Notification service and framework.org.forgerock.openam.sm Contains classes around the Service Manager layer and some of their configuration.org.forgerock.openam.uma org.forgerock.openam.upgrade Defines interfaces and classes to perform OpenAM system upgrade.org.forgerock.openam.utils This package contains general utilities for use throughout the OpenAM codebase. -
-
Uses of SMSException in com.iplanet.am.sdk
Methods in com.iplanet.am.sdk that throw SMSException Modifier and Type Method Description protected static SetAMServiceUtils. getServiceAttributeNames(SSOToken token, String serviceName, SchemaType type)Deprecated.Get attribute names for the specified Service and Schema Typeprotected static SetAMServiceUtils. getServiceAttributesWithQualifier(SSOToken token, String serviceName)Deprecated.Method to get the attribute names of a service with CosQualifier.static MapAMServiceUtils. getServiceConfig(SSOToken token, String serviceName, SchemaType type)Deprecated.Get service default config from SMSstatic booleanAMServiceUtils. serviceHasSubSchema(SSOToken token, String serviceName, SchemaType schemaType)Deprecated.Returns true if the service has the subSchema. -
Uses of SMSException in com.iplanet.dpro.session
Methods in com.iplanet.dpro.session that throw SMSException Modifier and Type Method Description DNOrIPAddressListTokenRestrictionTokenRestrictionFactory. createDNOrIPAddressListTokenRestriction(String dn, Set<String> hostNames)Create a new instance ofDNOrIPAddressListTokenRestriction, which handles the restriction of theDNorIPAddress. -
Uses of SMSException in com.iplanet.services.cdm
Methods in com.iplanet.services.cdm that throw SMSException Modifier and Type Method Description voidClientTypesManager. store(SSOToken token)Save changed to persistent store.voidDefaultClientTypesManager. store(SSOToken token) -
Uses of SMSException in com.iplanet.services.ldap
Methods in com.iplanet.services.ldap that throw SMSException Modifier and Type Method Description voidDSConfigMgrBase. parseServiceConfigXML() -
Uses of SMSException in com.iplanet.services.naming.service
Methods in com.iplanet.services.naming.service that throw SMSException Modifier and Type Method Description static HashtableNamingService. getNamingTable()static HashtableNamingService. getNamingTable(boolean forClient)This function returns the naming table that consists of service urls, platform servers and key/value mappings for platform servers Each server instance needs to be updated in the platform server list to reflect that server in the naming table -
Uses of SMSException in com.sun.identity.authentication.config
Methods in com.sun.identity.authentication.config that throw SMSException Modifier and Type Method Description static voidAMAuthConfigUtils. createNamedConfig(String configName, int priority, Map attributeDataMap, String orgName, SSOToken token)Creates an authentication configuration iniPlanetAMAuthConfigurationservice.static SetAMAuthConfigUtils. getAllNamedConfig(String orgName, SSOToken token)Returns all the authentication configurations defined iniPlanetAMAuthConfigurationservice.static Map<String,Set<String>>AMAuthConfigUtils. getNamedConfig(String configName, String orgName, SSOToken token)Returns the authentication configuration defined iniPlanetAMAuthConfigurationservice as XML string.static voidAMAuthConfigUtils. removeNamedConfig(String configName, String orgName, SSOToken token)Removes an authentication configuration defined iniPlanetAMAuthConfigurationservice.static voidAMAuthConfigUtils. replaceNamedConfig(String configName, int priority, Map attributeDataMap, String orgName, SSOToken token)Replaces an existing authentication configuration defined iniPlanetAMAuthConfigurationservice.voidAMAuthenticationInstance. setAttribute(String name, Set values)Sets a configuration parameter with the specified valuevalues.voidAMAuthenticationSchema. setAttribute(String attrName, Set values)Sets default value for a specific attribute.voidAMAuthenticationInstance. setAttributeValues(Map values)Sets the configuration parameters.voidAMAuthenticationSchema. setAttributeValues(Map values)Sets the default attribute values. -
Uses of SMSException in com.sun.identity.authentication.service
Methods in com.sun.identity.authentication.service that throw SMSException Modifier and Type Method Description static Map<String,Set<String>>AuthenticationServiceAttributeCache. getServiceAttribute(String orgDN, String serviceName)Returns Auth Config Service attributes from cache.static ZeroPageLoginConfigAuthUtils. getZeroPageLoginConfig(String realm)Gets the ZPL configuration for the given realm. -
Uses of SMSException in com.sun.identity.cli
Methods in com.sun.identity.cli that throw SMSException Modifier and Type Method Description static SetCLIUtil. getPasswordFields(String serviceName)Returns a set of attributes (of password syntax) of a given service.static SetCLIUtil. getPasswordFields(String serviceName, SchemaType schemaType, String subSchema)Returns a set of attributes (of password syntax) of a given service.static StringFormatUtils. printServiceNames(Set serviceNames, String template, SSOToken ssoToken) -
Uses of SMSException in com.sun.identity.common
Methods in com.sun.identity.common that throw SMSException Modifier and Type Method Description static voidISResourceBundle. deleteResourceBundle(SSOToken token, String rbName, String locale)Deletes the specified ResourceBundle from the directory.static voidISResourceBundle. storeResourceBundle(SSOToken token, String rbName, String locale, Map attributes)Stores or creates the ResourceBundle in the directory. -
Uses of SMSException in com.sun.identity.common.admin
Methods in com.sun.identity.common.admin that throw SMSException Modifier and Type Method Description static SetDisplayOptionsUtils. getDefaultDisplayOptions(SSOToken ssoToken, String roleDefn)Returns a set of default role display options of a given role definition. -
Uses of SMSException in com.sun.identity.common.configuration
Methods in com.sun.identity.common.configuration that throw SMSException Modifier and Type Method Description static voidSiteConfiguration. addServersToSite(SSOToken ssoToken, String siteName, Collection serverInstanceNames)Adds a set of server instances to a site.static voidSiteConfiguration. addSiteSecondaryURLs(SSOToken ssoToken, String siteName, Collection secondaryURLs)Adds the secondary URLs of a site.static voidServerConfiguration. addToSite(SSOToken ssoToken, String instanceName, String siteId)Adds server to a site.static booleanServerConfiguration. belongToSite(SSOToken ssoToken, String instanceName, String siteId)Returnstrueif a server belongs to a site.static voidServerConfiguration. cloneServerInstance(SSOToken token, String serverName, String cloneName)Clones an existing server using the new cloned server name.static voidServerConfiguration. cloneServerInstance(SSOToken ssoToken, String serverName, String cloneName, String cloneId)Clones a server instance.static AMIdentityAgentConfiguration. createAgent(SSOToken ssoToken, String realm, String agentName, String agentType, Map attrValues)Creates an agent.static voidAgentConfiguration. createAgent(SSOToken ssoToken, String realm, String agentName, String agentType, Map attrValues, String serverURL, String agentURL)Creates an agent.static voidAgentConfiguration. createAgentGroup(SSOToken ssoToken, String realm, String agentGroupName, String agentType, Map attrValues)Creates an agent group.static voidAgentConfiguration. createAgentGroup(SSOToken ssoToken, String realm, String agentGroupName, String agentType, Map attrValues, String serverURL, String agentURL)Creates an agent group.static voidAgentConfiguration. createAgentLocal(SSOToken ssoToken, String realm, String agentName, String agentType, Map attrValues, String agentURL)Creates a localized agent.static voidServerConfiguration. createDefaults(SSOToken ssoToken)static booleanServerConfiguration. createServerInstance(SSOToken ssoToken, String instanceName, String instanceId, Set values, String serverConfigXML)Creates a server instance.static voidServerConfiguration. createServerInstance(SSOToken ssoToken, String instanceName, Map values, String serverConfigXML)Creates a server instance.static voidServerConfiguration. createServerInstance(SSOToken ssoToken, String instanceName, Set values, String serverConfigXML)Creates a server instance.static booleanSiteConfiguration. createSite(SSOToken ssoToken, String siteName, String siteURL, Collection secondaryURLs)Creates a site.static voidAgentConfiguration. deleteAgentGroups(SSOToken ssoToken, String realm, Set agentGroups)Deletes agent groups.static booleanServerConfiguration. deleteServerInstance(SSOToken ssoToken, String instanceName)Deletes a server instance.static booleanSiteConfiguration. deleteSite(SSOToken ssoToken, String siteName)Deletes a site.static StringServerConfiguration. exportServerInstance(SSOToken ssoToken, String serverName)Exports a server instance.static MapAgentConfiguration. getAgentAttributes(SSOToken ssoToken, String realm, String agentName)Returns agent's attribute values.static MapAgentConfiguration. getAgentAttributes(SSOToken ssoToken, String realm, String agentName, boolean bInherit)Returns agent's attribute values.static MapAgentConfiguration. getAgentAttributes(AMIdentity amid, boolean reformat)Returns agent's attribute values.static AttributeSchemaAgentConfiguration. getAgentAttributeSchema(String name, String agentTypeName)Returns attribute schema of a given agent type.static SetAgentConfiguration. getAgentAttributeSchemas(String agentTypeName)Returns a set of attribute schemas of a given agent type.static MapAgentConfiguration. getAgentGroupAttributes(SSOToken ssoToken, String realm, String agentGroupName)Returns agent group's attribute values.static SetAgentConfiguration. getAgentTypes()Returns a set of supported agent types.static MapAgentConfiguration. getAttributeSchemas(String agentType, Collection names)Returns attribute schema for a given set of attribute names.static SetAgentConfiguration. getAttributesSchemaNames(AMIdentity amid, AttributeSchema.Syntax syntax)Returns a set of attribute schema names whose schema match a given syntax.static SetAgentConfiguration. getAttributesSchemaNames(String agentType, AttributeSchema.Type type)Returns a set of attribute schema names whose schema match a given type.static MapAgentConfiguration. getChoiceValues(String name, String agentType)Returns choice values of an attribute schema.static MapAgentConfiguration. getDefaultValues(String agentType, boolean bGroup)Returns the default values of attribute schemas of a given agent type.static SetAgentConfiguration. getInheritedAttributeNames(AMIdentity amid)Returns the inherited attribute names.static MapServerConfiguration. getLBCookieValues(SSOToken ssoToken)Returns a map of server name to its load balancer cookie value.static Map<String,String>ServerConfiguration. getNewServerDefaults(SSOToken ssoToken)protected static StringConfigurationBase. getNextId(SSOToken ssoToken)static StringAgentConfiguration. getResourceBundleName()Returns resource bundle name of agent service.protected static ServiceConfigConfigurationBase. getRootServerConfig(SSOToken ssoToken)protected static ServiceConfigConfigurationBase. getRootServerConfigWithRetry(SSOToken ssoToken)protected static ServiceConfigConfigurationBase. getRootSiteConfig(SSOToken ssoToken)protected static ServiceConfigConfigurationBase. getServerConfig(SSOToken ssoToken, String name)protected static Set<String>ConfigurationBase. getServerConfigurationId(ServiceConfig svc)static StringServerConfiguration. getServerConfigXML(SSOToken ssoToken, String instanceName)Returns server configuration XML.static StringServerConfiguration. getServerID(SSOToken ssoToken, String instanceName)Returns server Identifier.static SetServerConfiguration. getServerInfo(SSOToken ssoToken)Returns a set of server information where each entry in a set is a string of this formatserver-instance-name|serverId|siteId1|siteId2|...static PropertiesServerConfiguration. getServerInstance(SSOToken ssoToken, String instanceName)Returns the configuration of a server instance.static Set<String>ServerConfiguration. getServers(SSOToken ssoToken)Returns a set of server instance name (String).static StringServerConfiguration. getServerSite(SSOToken ssoToken, String instanceName)Returns a site name of which server belongs to.static ResourceBundleAgentConfiguration. getServiceResourceBundle(Locale locale)protected static Set<String>ConfigurationBase. getSiteConfigurationId(ServiceConfig svc)protected static Set<String>ConfigurationBase. getSiteConfigurationIds(SSOToken ssoToken, ServiceConfig rootNode, String name, boolean bPrimaryOnly)static StringSiteConfiguration. getSiteID(SSOToken ssoToken, String siteName)Returns the primary URL of a site.static StringSiteConfiguration. getSiteIdByURL(SSOToken ssoToken, String url)Returns site name where the given URL is either its primary or secondary URL.static SetSiteConfiguration. getSiteInfo(SSOToken ssoToken)Returns a set of site information where each entry in a set is a string of this formatsite-instance-name|siteId.static StringSiteConfiguration. getSitePrimaryURL(SSOToken ssoToken, String siteName)Returns the primary URL of a site.static Set<String>SiteConfiguration. getSites(SSOToken ssoToken)Returns a set of site instance name (String).static SetSiteConfiguration. getSiteSecondaryURLs(SSOToken ssoToken, String siteName)Returns the secondary URLs of a site.static SetSiteConfiguration. getSiteURLs(SSOToken ssoToken, String siteName)Returns the primary and secondary URLs of a site.static booleanServerConfiguration. hasServerOrSiteId(SSOToken ssoToken, String serverId)Returnstrueif server or site id exists.static voidServerConfiguration. importServerInstance(SSOToken ssoToken, String serverName, String xmlFile)Imports a server instance.static booleanServerConfiguration. isServerInstanceExist(SSOToken ssoToken, String instanceName)Returnstrueif server instance exists.static booleanSiteConfiguration. isSiteExist(SSOToken ssoToken, String siteName)Returnstrueif site exists.static Set<String>SiteConfiguration. listServers(SSOToken ssoToken, String siteName)Returns the server instance names that belong to a site.static booleanAgentConfiguration. removeAgentGroup(AMIdentity amid, AMIdentity groupToRemove)Removes agent from it group.static voidServerConfiguration. removeFromSite(SSOToken ssoToken, String instanceName, String siteId)Removes server from a site.static voidServerConfiguration. removeServerConfiguration(SSOToken ssoToken, String instanceName, Collection propertyNames)Removes server configuration.static voidSiteConfiguration. removeServersFromSite(SSOToken ssoToken, String siteName, Collection serverInstanceNames)Removes a set of server instances from a site.static voidSiteConfiguration. removeSiteSecondaryURLs(SSOToken ssoToken, String siteName, Collection secondaryURLs)Removes the secondary URLs from a site.static booleanAgentConfiguration. setAgentGroup(SSOToken ssoToken, String realm, AMIdentity amid, String groupName)Set agent group.static booleanAgentConfiguration. setAgentGroup(SSOToken ssoToken, String realm, String universalId, String groupName)Set agent group.static booleanAgentConfiguration. setAgentGroup(AMIdentity amid, AMIdentity newGroup)Set agent group.static voidServerConfiguration. setServerConfigXML(SSOToken ssoToken, String instanceName, String xml)Sets server configuration XML.static voidServerConfiguration. setServerInstance(SSOToken ssoToken, String instanceName, Map newValues)Sets configuration to a server instance.static voidServerConfiguration. setServerSite(SSOToken ssoToken, String instanceName, String siteName)Sets site name of which server belongs to.static voidSiteConfiguration. setSiteID(SSOToken ssoToken, String siteName, String siteID)Sets the ID of a site.static voidSiteConfiguration. setSitePrimaryURL(SSOToken ssoToken, String siteName, String siteURL)Sets the primary URL of a site.static voidSiteConfiguration. setSiteSecondaryURLs(SSOToken ssoToken, String siteName, Collection secondaryURLs)Sets the secondary URLs of a site.static voidAgentConfiguration. updateAgent(SSOToken ssoToken, String realm, String agentName, Map attrValues, boolean bSet)Updates agent attribute values.static voidAgentConfiguration. updateAgentGroup(SSOToken ssoToken, String realm, String agentGroupName, Map attrValues)Updates agent group attribute values.static voidAgentConfiguration. updateAgentGroup(SSOToken ssoToken, String realm, String agentGroupName, Map attrValues, boolean bSet)Updates agent group attribute values.static voidAgentConfiguration. updateInheritance(AMIdentity amid, Map inherit)Updates the inherited attribute names.protected static voidConfigurationBase. updateOrganizationAlias(SSOToken ssoToken, String instanceName, boolean bAdd)static voidServerConfiguration. upgradeServerInstance(SSOToken ssoToken, String instanceName, String instanceId, Map<String,String> upgradedValues)Upgrades a server instance. -
Uses of SMSException in com.sun.identity.password.ui.model
Methods in com.sun.identity.password.ui.model that throw SMSException Modifier and Type Method Description protected StringPWResetModelImpl. getAttributeValue(String realm, String attrName)protected SetPWResetModelImpl. getAttributeValues(String realm, String attrName)protected SetPWResetQuestionModelImpl. getDefaultQuestions(String realm)Returns default administrator configured questionsprotected ServiceSchemaPWResetModelImpl. getPWResetServiceSchema()Returns service schema.protected booleanPWResetModelImpl. isAttributeSet(String realm, String attrName) -
Uses of SMSException in com.sun.identity.policy
Methods in com.sun.identity.policy that throw SMSException Modifier and Type Method Description static intServiceTypeManager. getPolicyServiceRevisionNumber()Returns service revision number of policy service -
Uses of SMSException in com.sun.identity.setup
Methods in com.sun.identity.setup that throw SMSException Modifier and Type Method Description voidConfigureData. configure()Configures the product.voidRegisterServices. registers(SSOToken adminToken, boolean bUseExtUMDS)Registers services. -
Uses of SMSException in com.sun.identity.sm
Subclasses of SMSException in com.sun.identity.sm Modifier and Type Class Description classInvalidAttributeNameExceptionTheInvalidAttributeNameExceptionis thrown to indicate that an invalid attribute name was used.classInvalidAttributeValueExceptionclassOrganizationAlreadyExistsExceptionTheOrganizationAlreadyExistsExceptionis thrown if the organization already exists.classSchemaExceptionTheSchemaExceptionis thrown if the error encountered is related to the schema.classServiceAlreadyExistsExceptionTheServiceAlreadyExistsExceptionis thrown if the service already exists.classServiceNotFoundExceptionTheServiceNotFoundExceptionis thrown if the service does not exist.Methods in com.sun.identity.sm that throw SMSException Modifier and Type Method Description voidPluginConfig. addAttribute(String attrName, Set values)Adds a configuration parameter to the service plugin.voidServiceConfig. addAttribute(String attrName, Set values)Adds a configuration parameter to the service configuration.voidServiceInstance. addAttribute(String attrName, Set values)Adds the given attribute name and values to the attribute set.voidSMSEntry. addAttribute(String attrName, String value)Adds the attribute value to the given attribute name.voidServiceSchema. addAttributeSchema(InputStream xmlAttrSchema)Adds the attribute schema to this service.voidOrganizationConfigManager. addAttributeValues(String serviceName, String attrName, Set values)Adds organization attributes for the service.voidAttributeSchema. addChoiceValue(String value, String i18nKey)Adds a choice value and its i18n key to the existing set of choice values.voidServiceConfigManager. addConfiguration(InputStream in)Adds instances, global and organization configurationsvoidAttributeSchema. addDefaultValue(String value)Adds a default value to the existing set of default values.voidServiceConfig. addExportedOrganizationNames(Set names)Adds the organization names to the list of organization names that can import this service configutation.protected static voidSMSMigration70. addIdRepoAMSDKPlugin(SSOToken token, String orgName)Adds IdRepo AMSDK plugin to the given organization namevoidServiceSchemaManager. addPluginInterface(String interfaceName, String interfaceClass, String i18nKey)Adds a new plugin interface objct to service's schema.voidServiceManager. addPluginSchema(Document pluginDoc)Adds a new plugin schema to an existing serviceServiceConfigOrganizationConfigManager. addServiceConfig(String serviceName, Map attributes)Adds a service configuration object for the given service name for this organization.voidServiceConfig. addSubConfig(String subConfigName, String subConfigId, int priority, Map attrs)Adds a service sub-configuration with configuration parameters.voidServiceSchema. addSubSchema(InputStream xmlSubSchema)Adds the service's sub-schema given the XML input stream that follows the SMS DTD.voidOrganizationConfigManager. assignService(String serviceName, Map attributes)Assigns the given service to the orgnization with the respective attributes.voidServiceConfig. checkAndCreateGroup(String dn, String groupName)protected static voidServiceManager. checkAndEncryptPasswordSyntax(Document doc, boolean encrypt)protected static voidServiceManager. checkAndEncryptPasswordSyntax(Document doc, boolean encrypt, AMEncryption encryptObj)protected booleanCachedSubEntries. contains(SSOToken t, String entry)OrganizationConfigManagerOrganizationConfigManagerFactory. create(SSOToken token, String realm)Creates aOrganizationConfigManagerfor the provided realm.abstract voidSMSObject. create(SSOToken token, String objName, Map attributes)Creates an entry in the persistent store.ServiceConfigServiceConfigManager. createGlobalConfig(Map attrs)Creates global configuration for the default instance of the service given the configuration attributes.ServiceConfigServiceConfigManager. createOrganizationConfig(String orgName, Map attrs)Creates organization configuration for the default instance of the service given configuration attributes.OrganizationConfigManagerOrganizationConfigManager. createSubOrganization(String subOrgName, Map attributes)Creates a sub-organization under the current organization and sets the specified attributes.voidSMSEntry. delete()Delete the entry in the datastore.abstract voidSMSObject. delete(SSOToken token, String objName)Delete the entry in the datastore.voidServiceConfig. deleteLabeledUri(String luri)Deprecated.The labeledURI setting shall not be used for storing configuration data.voidServiceConfigManager. deleteOrganizationConfig(String orgName)Deletes the organization configuration data for the given organization.voidServiceManager. deleteService(String serviceName)Deletes only the schema for the given service name.voidOrganizationConfigManager. deleteSubOrganization(String subOrgName, boolean recursive)Deletes the given sub-organization.voidSMSEntry. forceDelete(SSOToken adminToken)Delete the entry in the datastore.static StringOrgConfigViaAMSDK. getAmsdkdn(SSOToken token, com.sun.identity.sm.OrganizationConfigManagerImpl ocm)Set<String>OrganizationConfigManager. getAssignableServices()Returns a set of service names that can be assigned to a realm.Set<String>OrganizationConfigManager. getAssignedServices()Returns a set of service names that are assigned to a realm.Set<String>OrganizationConfigManager. getAssignedServices(boolean includeMandatory)Returns a set of service names that are assigned to a realm.MapOrganizationConfigManager. getAttributes(String serviceName)Returns the organization creation attributes for the service.ServiceConfigManagerServiceManager. getConfigManager(String serviceName, String version)Returns theServiceConfigManagerfor the given service name and version.SetOrganizationConfigManager. getConfiguredServices()Deprecated.This method has been deprecated, usegetAssignedServices()instead.protected DocumentPluginSchema. getDocumentCopy()protected DocumentServiceSchemaManager. getDocumentCopy()ServiceSchemaServiceSchemaManager. getDynamicSchema()Returns the dynamic service configuration schema.SetServiceConfig. getExportedSubConfigNames(String serviceId)Returns a set of exported fully qualified sub-configuration names that can be imported used locally as service configurationServiceConfigServiceConfigManager. getGlobalConfig(String instanceName)Returns the global configuration for the given service instance.ServiceSchemaServiceSchemaManager. getGlobalSchema()Returns the global service configuration schema.SetServiceConfigManager. getGroupNames()Returns the configuration group namesstatic CachedSMSEntryCachedSMSEntry. getInstance(SSOToken t, String dn)static CachedSubEntriesCachedSubEntries. getInstance(SSOToken token, String dn)ServiceInstanceServiceConfigManager. getInstance(String instanceName)Returns the service instance given the instance namestatic CachedSubEntriesCachedSubEntries. getInstanceIfCached(SSOToken token, String dn, boolean cached)SetServiceConfigManager. getInstanceNames()Returns the service instance namesStringServiceConfig. getLastModifiedTime()Returns the last modified time stamp of this configuration This method is expensive because it does not cache the modified time stamp but goes directly to the data store to obtain the value of this entryStringServiceSchemaManager. getLastModifiedTime()Returns the last modified time stamp of this service schema.ServiceConfigServiceConfigManager. getOrganizationConfig(String orgName, String instanceName)Returns the organization configuration for the given organization and instance name.OrganizationConfigManagerServiceManager. getOrganizationConfigManager(String orgName)Returns theOrganizationConfigManagerfor the given organization name.ServiceSchemaServiceSchemaManager. getOrganizationCreationSchema()Returns the organization creation configuration schema if present; else returnsnullServiceSchemaServiceSchemaManager. getOrganizationSchema()Returns the organization service configuration schema.OrganizationConfigManagerOrganizationConfigManager. getParentOrgConfigManager()Returns theOrganizationConfigManagerof the parent for the given organization name.SetOrganizationConfigManager. getPeerOrganizationNames()Returns the names of all peer-organizations.PluginConfigServiceConfigManager. getPluginConfig(String name, String pluginSchemaName, String interfaceName, String orgName)Returns the plugin configuration parameters for the serviceSetServiceConfigManager. getPluginConfigNames(String pluginSchemaName, String interfaceName, String orgName)Returns a set of plugins configured for the given plugin interface and plugin schema in a organizationPluginSchemaServiceSchemaManager. getPluginSchema(String pluginSchemaName, String interfaceName, String orgName)Returns the PluginSchema object given the schema name and the interface name for the specified organization.StringSMSSchema. getPluginSchema(String pluginName)Method returns the XML plugin schema for the given plugin name in a String format that can stored in a directory.StringSMSSchema. getPluginSchema(String serviceName, String pluginName)Method returns the XML plugin schema for the given service name and plugin name in a String format that can stored in a directory.StringSMSSchema. getPluginSchema(Node pluginName)Method returns the XML plugin schema for the given plugin name in a String format that can stored in a directory.SetServiceSchemaManager. getPluginSchemaNames(String interfaceName, String orgName)Returns the names of plugins configured for the plugin interface.protected NodePluginSchema. getPluginSchemaNode(Document doc)ServiceSchemaServiceSchemaManager. getPolicySchema()Returns the policy service configuration schema.InputStreamServiceSchemaManager. getSchema()Returns the service schema in XML for this service.ServiceSchemaServiceSchemaManager. getSchema(SchemaType type)Returns the configuration schema for the given schema typeServiceSchemaServiceSchemaManager. getSchema(String type)Returns the configuration schema for the given schema typeStringSMSSchema. getSchema()Method returns the XML schema for the service in a String format that can stored in a directory.protected StringSMSSchema. getSchema(String serviceName)Method returns the XML schema for the given service name in a String format that can stored in a directory.ServiceSchemaManagerServiceManager. getSchemaManager(String serviceName, String version)Returns theServiceSchemaManagerfor the given service name and version.SetCachedSubEntries. getSchemaSubEntries(SSOToken token, String pattern, String serviceidPattern)Returns sub-entries that belong to given SubSchema name and statisfies the pattern.Set<SchemaType>ServiceSchemaManager. getSchemaTypes()Returns the schema types available with this service.SetServiceSchemaManager. getServiceAttributeNames(SchemaType type)Returns the attribute schemas for the given schema type excluding status and service identifier attributes.MapOrganizationConfigManager. getServiceAttributes(String serviceName)Returns attributes configured for the service.ServiceConfigOrganizationConfigManager. getServiceConfig(String serviceName)Returns the service configuration object for the given service name.protected StringSMSSchema. getServiceName()Set<String>ServiceManager. getServiceNames()Returns all the service names that have been registered.protected NodeSMSSchema. getServiceNode()SetOrganizationConfigManager. getServiceSchemas()Returns a set of service schemas to be used for creation of an organization.protected StringSMSSchema. getServiceVersion()SetServiceManager. getServiceVersions(String serviceName)Returns all versions supported by the service.ServiceConfigServiceConfig. getSubConfig(String subConfigName)Returns the service's sub-configuration given the service's sub-configuration name.Set<String>ServiceConfig. getSubConfigNames()Returns the names of all service's sub-configurations.Set<String>ServiceConfig. getSubConfigNames(String pattern)Method to get names of service's sub-configurations that match the given pattern.Set<String>ServiceConfig. getSubConfigNames(String pattern, String schemaName)Method to get names of service's sub-configurations that match the given pattern and belongs to the specified service schema name.protected SetCachedSubEntries. getSubEntries(SSOToken t)Returns one-level sub-entries for the given DN.Set<String>CachedSubEntries. getSubEntries(SSOToken token, String pattern)Return sub-entries that match the pattern.SetOrganizationConfigManager. getSubOrganizationNames()Returns the names of all sub-organizations.SetOrganizationConfigManager. getSubOrganizationNames(String pattern, boolean recursive)Returns names of sub-organizations matching the given pattern.OrganizationConfigManagerOrganizationConfigManager. getSubOrgConfigManager(String subOrgName)Returns theOrganizationConfigManagerfor the given organization name.ServiceSchemaServiceSchema. getSubSchema(String subSchemaName)ReturnsServiceSchemaobject given the name of the service's sub-schema.ServiceSchemaServiceSchemaManager. getUserSchema()Returns the user service configuration schema.protected static SetServiceManager. getVersions(SSOToken token, String serviceName)static DocumentSMSSchema. getXMLDocument(InputStream in)static DocumentSMSSchema. getXMLDocument(InputStream in, boolean validation)static DocumentSMSSchema. getXMLDocument(String xml, boolean validation)voidServiceConfig. importSubConfig(String subConfigName, String exportedSubConfigName)Imports a service sub-configuration to the list of localy defined sub-configuration.voidSMSObject. initialize(Map initParams)Initialization parameters that are configured via system properties or can be dynamically set during run-time.static booleanServiceManager. isAMSDKConfigured()Returnstrueif AMSDK IdRepo plugin is configured in any of the realmsprotected booleanCachedSubEntries. isEmpty(SSOToken t)booleanServiceSchemaManagerImpl. isValid()Returns if the object is still validstatic voidOrganizationConfigManager. loadDefaultServices(SSOToken token, OrganizationConfigManager ocm)Loads default services to a newly created realmabstract voidSMSObject. modify(SSOToken token, String objName, ModificationItem[] mods)Modifies the attributes to the object.<E extends Exception>
voidServiceSchemaManager. modifySchema(org.forgerock.util.Function<Document,Boolean,E> modifier)voidOrganizationConfigManager. modifyService(String serviceName, Map attributes)Sets the attributes related to provided service.DocumentServiceManager. parseServicesFile(InputStream xmlServiceSchema)DocumentServiceManager. parseServicesFile(InputStream xmlServiceSchema, AMEncryption decryptObj)abstract Map<String,Set<String>>SMSObject. read(SSOToken token, String objName)Reads in the object from persistent store.voidSMSObject. registerCallbackHandler(SMSObjectListener changeListener)Registration of Notification CallbacksSetServiceManager. registerServices(InputStream xmlServiceSchema)Registers one or more services, defined by the XML input stream that follows the SMS DTD.SetServiceManager. registerServices(InputStream xmlServiceSchema, AMEncryption decryptObj)Registers one or more services, defined by the XML input stream that follows the SMS DTD.voidOrganizationConfigManager. removeAttribute(String serviceName, String attrName)Removes the given organization creation attribute for the service.voidPluginConfig. removeAttribute(String attrName)Removes a configuration parameter from the service plugin.voidServiceConfig. removeAttribute(String attrName)Removes a configuration parameter from the service configuration.voidServiceInstance. removeAttribute(String attrName)Removes the specified attribute name and its values from the attribute set.voidSMSEntry. removeAttribute(String attrName)Remove the attribute from the entry.voidSMSEntry. removeAttribute(String attrName, String value)Removes the attribute value from the attribute.voidServiceSchema. removeAttributeDefaults(Set attrs)Removes the default values of attributes in the schema.voidServiceConfig. removeAttributes(Set attrNames)Removes a configuration parameters from the service configuration.voidServiceSchema. removeAttributeSchema(String attrName)Removes the attribute schema from this service.voidOrganizationConfigManager. removeAttributeValues(String serviceName, String attrName, Set values)Removes the given organization creation attribute values for the service.voidPluginConfig. removeAttributeValues(String attrName, Set values)Removes the specific values for the given configuration plugin.voidServiceConfig. removeAttributeValues(String attrName, Set values)Removes the specific values for the given configuration parameter.voidServiceInstance. removeAttributeValues(String attrName, Set values)Removes the specified attribute's values.voidAttributeSchema. removeChoiceValue(String value)Removes the given value from the set of choice values.voidAttributeSchema. removeDefaultValue(String value)Removes the given value from the set of default values.voidAttributeSchema. removeDefaultValues()Removes the all the default values for the attribute.voidServiceConfigManager. removeGlobalConfiguration(String groupName)Deletes the global configuration data for the given group name.voidServiceConfigManager. removeInstance(String instanceName)Removes the instance form the servicevoidServiceConfigManager. removeOrganizationConfiguration(String orgName, String groupName)Deletes the organization's group configuration data.voidServiceConfigManager. removeOrganizationConfiguration(String orgName, String groupName, boolean checkLegacyMode)Deletes the organization's group configuration data.voidServiceConfigManager. removePluginConfig(String name, String pluginSchemaName, String interfaceName, String orgName)Removes the plugin configuration for the servicevoidServiceSchemaManager. removePluginInterface(String interfacename)Removes the plugin interface object from the service schema.voidServiceManager. removePluginSchema(String serviceName, String interfaceName, String pluginName)Removes a plugin schema from a servicevoidServiceManager. removeService(String serviceName, String version)Removes the service schema and configuration for the given service name.voidOrganizationConfigManager. removeServiceConfig(String serviceName)Removes the service configuration object for the given service name for this organization.voidServiceConfig. removeSharedOrganizationNames(Set names)Removes the organization names from the list of organization names that can import the service configuration.voidServiceConfig. removeSubConfig(String subConfigName)Removes the service sub-configuration.voidServiceSchema. removeSubSchema(String subSchemaName)Removes the service's sub-schema from the service.voidServiceSchema. replaceAttributeSchema(String attrName, Node attributeSchemaNode)Removes the attribute schema from this service.voidPluginConfig. replaceAttributeValue(String attrName, String oldValue, String newValue)Replaces old value of the configuration parameter with new value.voidServiceConfig. replaceAttributeValue(String attrName, String oldValue, String newValue)Replaces old value of the configuration parameter with new value.voidServiceInstance. replaceAttributeValue(String attrName, String oldValue, String newValue)Replaces the attribute's old value with the new value.voidPluginConfig. replaceAttributeValues(String attrName, Set oldValues, Set newValues)Replaces the old values of the configuration parameter with the new values.voidServiceConfig. replaceAttributeValues(String attrName, Set oldValues, Set newValues)Replaces the old values of the configuration parameter with the new values.voidServiceInstance. replaceAttributeValues(String attrName, Set oldValues, Set newValues)Replaces the attribute's old values with the new valuesprotected voidPluginSchema. replacePluginSchema(Document document)voidServiceSchemaManager. replaceSchema(InputStream xmlServiceSchema)Replaces the existing service schema with the given schema defined by the XML input stream that follows the SMS DTD.protected voidServiceSchemaManager. replaceSchema(Document document)voidSMSEntry. save()Save the modification(s) to the object.abstract Set<String>SMSObject. schemaSubEntries(SSOToken token, String dn, String filter, String sidFilter, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns the sub-entries.Iterator<SMSDataEntry>ServiceManagementDAO. search(SSOToken token, String dn, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder, Set<String> exclude)Returns the DNs and its attribute values that match the filter.Iterator<SMSDataEntry>ServiceManagementDAOWrapper. search(SSOToken token, String dn, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder, Set<String> exclude)static Set<String>SMSEntry. search(SSOToken token, String dn, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder)Returns the DNs that match the filter.static IteratorSMSEntry. search(SSOToken token, String dn, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder, Set exclude)Returns the DNs and its attribute values that match the filter.abstract Set<String>SMSObject. search(SSOToken token, String startDN, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder)Searchs the data store for objects that match the filterabstract Iterator<SMSDataEntry>SMSObject. search(SSOToken token, String startDN, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder, Set<String> excludes)Searchs the data store for objects that match the filterSetServiceManager. searchOrganizationNames(String serviceName, String attrName, Set values)Returns organization names that match the given attribute name and values.abstract Set<String>SMSObject. searchOrganizationNames(SSOToken token, String dn, int numOfEntries, boolean sortResults, boolean ascendingOrder, String serviceName, String attrName, Set values)Returns the organization names.SetCachedSubEntries. searchOrgNames(SSOToken token, String serviceName, String attrName, Set values)Returns realm names that match the attribute-values pair for the given service name.SetCachedSubEntries. searchSubOrgNames(SSOToken token, String pattern, boolean recursive)Returns realm names that matches the given pattern.abstract Set<String>SMSObject. searchSubOrgNames(SSOToken token, String dn, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder, boolean recursive)Returns the suborganization names.protected static StringServiceManager. serviceDefaultVersion(SSOToken token, String serviceName)voidAttributeSchema. setAny(String a)Sets the any attribute.voidServiceSchema. setAttributeDefaults(String attrName, Set values)Method to change default value for a specific attribute.voidServiceSchema. setAttributeDefaults(Map attrs)Method to change the default values of attributes in the schema.voidOrganizationConfigManager. setAttributes(String serviceName, Map attributes)Sets/Creates organization attributes for the service.voidPluginConfig. setAttributes(Map attrs)Sets the service plugin parameters.voidServiceConfig. setAttributes(Map attrs)Sets the service configuration parameters.voidServiceInstance. setAttributes(Map attrs)Sets the attributes that are specific to the service instance.voidAttributeSchema. setBooleanValues(String trueValue, String trueValueI18nKey, String falseValue, String falseValueI18nKey)Sets the boolean values of the attribute.voidAttributeSchema. setCosQualifier(String cosq)Sets thecosQualifierattributevoidAttributeSchema. setDefaultValues(Set values)Sets the default values of the attribute.voidAttributeSchema. setEndRange(String edRange)Sets the end range Attribute.voidServiceConfig. setExportedOrganizationNames(Set names)Sets the organization names that can import the service configuration.voidServiceInstance. setGroup(String groupName)Sets the group name for this instance.voidServiceSchema. setI18NFileName(String url)Sets the I18N properties file name for the service schemavoidServiceSchemaManager. setI18NFileName(String url)Sets the I18N properties file name for the servicevoidServiceSchemaManager. setI18NJarURL(String url)Sets the URL of the JAR file that contains the I18N propertiesvoidServiceSchema. setI18Nkey(String key)Sets the value of the I18N key in the service schema.voidAttributeSchema. setI18NKey(String i18nKey)Sets the I18N key to describe the configuration attribute.voidServiceSchemaManager. setI18NKey(String i18nKey)Sets the i18nKey of the schema.voidServiceSchema. setInheritance(String value)Set the value of inheritance attribute in service schema.voidServiceConfig. setLabeledUri(String luri)Deprecated.The labeledURI setting shall not be used for storing configuration data.voidAttributeSchema. setMaxValue(String maxV)Sets the maximum value attribute.voidAttributeSchema. setMinValue(String minV)Sets the minimum value attribute.voidAttributeSchema. setOrder(Integer order)Sets the order of this attribute.voidPluginConfig. setPriority(int priority)Sets the priority to the service plugin.voidServiceConfig. setPriority(int priority)Sets the priority to the service configuration.voidAttributeSchema. setPropertiesViewBeanUR(String prop)Sets the URL of the view bean for the attribute.voidPluginSchema. setPropertiesViewBeanURL(String url)Sets the URL of the view bean for the plugin.voidServiceSchemaManager. setPropertiesViewBeanURL(String url)Sets the URL of the view bean for the service.voidAttributeSchema. setResourceName(String name)Sets the CREST representation name for the attribute.voidServiceSchema. setResourceName(String name)Sets the CREST resource name for the service schema.voidServiceSchemaManager. setResourceName(String name)Sets the service's resource name for CREST representation.voidServiceSchemaManager. setRevisionNumber(int revisionNumber)iPlanet_PUBLIC-METHOD Sets the revision number for the service schema.voidAttributeSchema. setSearchable(String value)Sets the attribute isSearchable, if value is set totrue, orfalse.voidServiceSchemaManager. setServiceHierarchy(String newhierarchy)Sets the service's hierarchyvoidAttributeSchema. setStartRange(String stRange)Sets the start range attribute.voidAttributeSchema. setSyntax(String synt)Sets the Syntax attribute.voidAttributeSchema. setType(String type)Sets the type.voidAttributeSchema. setUIType(String uiType)Sets theUITypeattribute.voidServiceInstance. setURI(String uri)Sets the URI for the service instance.voidAttributeSchema. setValidator(String valid)Sets the Validator attributeabstract Set<String>SMSObject. subEntries(SSOToken token, String dn, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns the sub-entries.StringPluginSchema. toXML()StringServiceConfig. toXML(String NodeTag, AMEncryption encryptObj)StringServiceConfig. toXML(String NodeTag, AMEncryption encryptObj, String orgName)StringServiceConfigManager. toXML(AMEncryption encryptObj)StringServiceManager. toXML(AMEncryption encryptObj)StringServiceSchemaManager. toXML(AMEncryption encryptObj)StringServiceSchemaManagerImpl. toXML(AMEncryption encryptObj)voidOrganizationConfigManager. unassignService(String serviceName)Unassigns the service from the organization.protected voidAttributeSchema. updateBooleanValues(String trueValue, String trueValueI18nKey, String falseValue, String falseValueI18nKey, Document doc)protected voidAttributeSchema. updateChoiceValues(Map choiceValues)protected voidAttributeSchema. updateChoiceValues(Map choiceValues, Document doc)protected voidAttributeSchema. updateDefaultValues(Set defaultValues)Method for modifying default valuesprotected voidAttributeSchema. updateDefaultValues(Set defaultValues, Document doc)Method for modifying default values given the XML documentprotected voidAttributeSchema. updateXMLDocument(StringBuffer sb, String elementName, Document updateDoc)protected voidAttributeSchema. updateXMLDocument(String attrName, String attrValue)update attribute value in attribute schema elementstatic booleanRemoteServiceAttributeValidator. validate(SSOToken token, String clazz, Set values)Validates a set of values.MapServiceSchema. validateAndInheritDefaults(Map attrMap, boolean inherit)Validates theattrMapagainst the attributes defined in this schema of the service.MapServiceSchema. validateAndInheritDefaults(Map attrMap, String orgName, boolean inherit)Validates theattrMapagainst the attributes defined in this schema of the service for the given organization.booleanServiceSchema. validateAttributes(Map attributeSet)Determines whether each attribute in the attribute set is valid.booleanServiceSchema. validateAttributes(Map attributeSet, String orgName)Determines whether each attribute in the attribute set is valid for the given organization.protected voidPluginConfig. validatePluginConfig()protected voidPluginSchema. validatePluginSchema()protected voidServiceInstance. validateServiceInstance()protected static booleanServiceManager. validateServiceSchema(Node serviceNode)static voidSMSEntry. validateToken(SSOToken token)Constructors in com.sun.identity.sm that throw SMSException Constructor Description OrganizationConfigManager(SSOToken token, String orgName)Constructor to obtain an instance ofOrganizationConfigManagerfor an organization by providing an authenticated identity of the user.PluginConfig(String name, ServiceConfigManager scm, com.sun.identity.sm.PluginConfigImpl pc)Protected constructorPluginSchema(SSOToken token, String serviceName, String version, String pluginName, String iName, String orgName)ServiceConfig(ServiceConfigManager scm, com.sun.identity.sm.ServiceConfigImpl sc)Protected constructorServiceConfigManager(SSOToken token, String serviceName, String version)Creates an instance ofServiceConfigManagerfor the given service and version.ServiceConfigManager(String serviceName, SSOToken token)Constrctor to obtain an instanceServiceConfigManagerfor a service by providing an authenticated identity of the user.ServiceManager(SSOToken token)Creates an instance ofServiceManager.ServiceSchemaManager(SSOToken token, String serviceName, String version)Creates an instance ofServiceSchemaManagerfor the given service and version pair.ServiceSchemaManager(String serviceName, SSOToken token)Constructor for service's schema manager to manage the attributes and sub configurations.SMSEntry(SSOToken token, String dn)Constructor for a persistent SMS object given an authenticated SSOToken and DN. -
Uses of SMSException in com.sun.identity.sm.flatfile
Methods in com.sun.identity.sm.flatfile that throw SMSException Modifier and Type Method Description voidSMSEnhancedFlatFileObject. create(SSOToken token, String objName, Map attrs)Creates the configuration object.voidSMSFlatFileObject. create(SSOToken token, String objName, Map attrs)Creates the configuration object.voidSMSEnhancedFlatFileObject. delete(SSOToken token, String objName)Deletes the configuration object and all objects below it.voidSMSFlatFileObject. delete(SSOToken token, String objName)Deletes the configuration object and all objects below it.protected voidSMSEnhancedFlatFileObject. deleteSunXmlKeyValFiles(SMSFlatFileTreeNode node)Delete sunxmlkeyvalue files under the given node.protected voidSMSFlatFileObject. deleteSunXmlKeyValFiles(File dirHandle)Delete sunxmlkeyvalue files under the given directory.protected SetSMSEnhancedFlatFileObject. getSubEntries(String objName, String filter, String sidFilter, boolean isSubConfig, int numOfEntries, boolean sortResults, boolean ascendingOrder)Real routine to get sub entries, used by subEntries() and schemaSubEntries().protected SetSMSFlatFileObject. getSubEntries(String objName, String filter, String sidFilter, boolean isSubConfig, int numOfEntries, boolean sortResults, boolean ascendingOrder)Real routine to get sub entries, used by subEntries() and schemaSubEntries().protected abstract Set<String>SMSFlatFileObjectBase. getSubEntries(String objName, String filter, String sidFilter, boolean isSubConfig, int numOfEntries, boolean sortResults, boolean ascendingOrder)Real routine to get sub entries, used by subEntries() and schemaSubEntries().protected voidSMSFlatFileObjectBase. initialize()Initializes the SMSFlatFileObject: Gets the flat file directory and default organization DN from AMConfig.properties, creates the root directory if it does not exist.protected voidSMSFlatFileObject. loadMapper()Loads the name mapper, create it if it doesn't exist.protected PropertiesSMSFlatFileObjectBase. loadProperties(File filehandle, String objName)Loads properties from the attribute file handle.voidSMSEnhancedFlatFileObject. modify(SSOToken token, String objName, ModificationItem[] mods)Modifies the attributes for the given configuration object.voidSMSFlatFileObject. modify(SSOToken token, String objName, ModificationItem[] mods)Modify the attributes for the given configuration object.MapSMSEnhancedFlatFileObject. read(SSOToken token, String objName)Reads in attributes of a configuration object.MapSMSFlatFileObject. read(SSOToken token, String objName)Reads in attributes of a configuration object.StringSMSEnhancedFlatFileObject. registerCallbackHandler(SSOToken token, SMSObjectListener changeListener)Register a listener.StringSMSFlatFileObjectBase. registerCallbackHandler(SSOToken token, SMSObjectListener changeListener)Register a listener.protected voidSMSFlatFileObjectBase. saveProperties(Properties props, File filehandle, String header)Saves properties to the attributes file handle, with given objName in the file header.Set<String>SMSFlatFileObjectBase. schemaSubEntries(SSOToken token, String objName, String filter, String sidFilter, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns a Set of sub entry names that match the given filter and the given sun service id filter.Set<String>SMSFlatFileObjectBase. search(SSOToken token, String objName, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder)Search for a config object with the given filter.Iterator<SMSDataEntry>SMSFlatFileObjectBase. search(SSOToken token, String objName, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder, Set excludes)Search for a config object with the given filter.Set<String>SMSFlatFileObjectBase. searchOrganizationNames(SSOToken token, String objName, int numOfEntries, boolean sortResults, boolean ascendingOrder, String serviceName, String attrName, Set values)Returns the organization names.Set<String>SMSFlatFileObjectBase. searchSubOrgNames(SSOToken token, String objName, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder, boolean recursive)Returns the suborganization names.Set<String>SMSFlatFileObjectBase. subEntries(SSOToken token, String objName, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns a Set of sub-entry names that match the given filter.Constructors in com.sun.identity.sm.flatfile that throw SMSException Constructor Description SMSEnhancedFlatFileObject()Constructor for SMSEnhancedFlatFileObject.SMSFlatFileObject()Constructor for SMSFlatFileObject.SMSFlatFileObjectBase()Constructor for SMSFlatFileObject. -
Uses of SMSException in com.sun.identity.sm.jaxrpc
Methods in com.sun.identity.sm.jaxrpc that throw SMSException Modifier and Type Method Description voidSMSJAXRPCObject. create(SSOToken token, String objName, Map attributes)Creates an entry in the persistent store.voidSMSJAXRPCObjectImpl. create(String tokenID, String objName, Map attributes)Creates an entry in the persistent store.voidSMSObjectIF. create(String token, String objName, Map attributes)voidSMSJAXRPCObject. delete(SSOToken token, String objName)Delete the entry in the datastore.voidSMSJAXRPCObjectImpl. delete(String tokenID, String objName)Delete the entry in the datastore.voidSMSObjectIF. delete(String token, String objName)voidSMSJAXRPCObject. modify(SSOToken token, String objName, ModificationItem[] mods)Modifies the attributes to the object.voidSMSJAXRPCObjectImpl. modify(String tokenID, String objName, String mods)Modifies the attributes to the object.voidSMSObjectIF. modify(String token, String objName, String mods)Map<String,Set<String>>SMSJAXRPCObject. read(SSOToken token, String objName)Reads in the object from persistent store.MapSMSJAXRPCObjectImpl. read(String tokenID, String objName)Returns the attribute names and values of the provided object using the identity of the provided SSO TokenMapSMSObjectIF. read(String t, String name)voidSMSJAXRPCObject. registerCallbackHandler(SMSObjectListener changeListener)Registration for event change notifications.Set<String>SMSJAXRPCObject. schemaSubEntries(SSOToken token, String dn, String filter, String sidFilter, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns the sub-entries.SetSMSJAXRPCObjectImpl. schemaSubEntries(String tokenID, String dn, String filter, String sidFilter, int numOfEntries, boolean sortResults, boolean ao)Returns the sub-entries matching the schema id.SetSMSObjectIF. schemaSubEntries(String token, String dn, String filter, String sidFilter, int numOfEntries, boolean sortResults, boolean ao)Set<String>SMSJAXRPCObject. search(SSOToken token, String startDN, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder)Searchs the data store for objects that match the filterIterator<SMSDataEntry>SMSJAXRPCObject. search(SSOToken token, String startDN, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder, Set excludes)Searches the data store for objects that match the filterSetSMSJAXRPCObjectImpl. search(String tokenID, String startDN, String filter)Searchs the data store for objects that match the filterSetSMSObjectIF. search(String token, String startDN, String filter)SetSMSJAXRPCObjectImpl. search2(String tokenID, String startDN, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder)Searchs the data store for objects that match the filterSetSMSObjectIF. search2(String token, String startDN, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder)SetSMSJAXRPCObjectImpl. search3(String tokenID, String startDN, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder, Set excludes)Searches the data store for objects that match the filter with an exclude setSetSMSObjectIF. search3(String tokenID, String startDN, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder, Set excludes)Set<String>SMSJAXRPCObject. searchOrganizationNames(SSOToken token, String dn, int numOfEntries, boolean sortResults, boolean ascendingOrder, String serviceName, String attrName, Set values)Returns the organization names.SetSMSJAXRPCObjectImpl. searchOrganizationNames(String tokenID, String dn, int numOfEntries, boolean sortResults, boolean ascendingOrder, String serviceName, String attrName, Set values)Returns the organization names.SetSMSObjectIF. searchOrganizationNames(String token, String dn, int numOfEntries, boolean sortResults, boolean ascendingOrder, String serviceName, String attrName, Set values)Set<String>SMSJAXRPCObject. searchSubOrgNames(SSOToken token, String dn, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder, boolean recursive)Returns the suborganization names.SetSMSJAXRPCObjectImpl. searchSubOrgNames(String tokenID, String dn, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder, boolean recursive)Returns the suborganization names.SetSMSObjectIF. searchSubOrgNames(String token, String dn, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder, boolean recursive)Set<String>SMSJAXRPCObject. subEntries(SSOToken token, String dn, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns the sub-entries.SetSMSJAXRPCObjectImpl. subEntries(String tokenID, String dn, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns the sub-entries.SetSMSObjectIF. subEntries(String token, String dn, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder)booleanSMSJAXRPCObject. validateServiceAttributes(SSOToken token, String validatorClass, Set values)Validates service configuration attributes.booleanSMSJAXRPCObjectImpl. validateServiceAttributes(String token, String validatorClass, Set values)Validates service configuration attributes.booleanSMSObjectIF. validateServiceAttributes(String token, String validatorClass, Set values)Validates service configuration attributes. -
Uses of SMSException in com.sun.identity.sm.ldap
Methods in com.sun.identity.sm.ldap that throw SMSException Modifier and Type Method Description voidSMSEmbeddedLdapObject. create(SSOToken token, String dn, Map attrs)Create an entry in the directoryvoidSMSLdapObject. create(SSOToken token, String dn, Map attrs)Create an entry in the directoryvoidSMSEmbeddedLdapObject. delete(SSOToken token, String dn)Delete the entry in the directory.voidSMSLdapObject. delete(SSOToken token, String dn)Delete the entry in the directory.voidSMSEmbeddedLdapObject. modify(SSOToken token, String dn, ModificationItem[] mods)Save the entry using the token provided.voidSMSLdapObject. modify(SSOToken token, String dn, ModificationItem[] mods)Save the entry using the token provided.MapSMSEmbeddedLdapObject. read(SSOToken token, String dn)Reads in the object from persistent store, assuming that the guid and the SSOToken are validMap<String,Set<String>>SMSLdapObject. read(SSOToken token, String dn)Reads in the object from persistent store, assuming that the guid and the SSOToken are validvoidSMSEmbeddedLdapObject. registerCallbackHandler(SMSObjectListener changeListener)Registration of Notification CallbacksvoidSMSLdapObject. registerCallbackHandler(SMSObjectListener changeListener)Registration of Notification CallbacksSet<String>SMSEmbeddedLdapObject. schemaSubEntries(SSOToken token, String dn, String filter, String sidFilter, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns the sub-entry names.Set<String>SMSLdapObject. schemaSubEntries(SSOToken token, String dn, String filter, String sidFilter, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns the sub-entry names.Set<String>SMSEmbeddedLdapObject. search(SSOToken token, String startDN, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder)Returns LDAP entries that match the filter, using the start DN provided in methodIterator<SMSDataEntry>SMSEmbeddedLdapObject. search(SSOToken token, String startDN, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder, Set excludes)Set<String>SMSLdapObject. search(SSOToken token, String startDN, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder)Returns LDAP entries that match the filter, using the start DN provided in methodIterator<SMSDataEntry>SMSLdapObject. search(SSOToken token, String startDN, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder, Set<String> excludes)Returns LDAP entries that match the filter, using the start DN provided in methodSet<String>SMSEmbeddedLdapObject. searchOrganizationNames(SSOToken token, String dn, int numOfEntries, boolean sortResults, boolean ascendingOrder, String serviceName, String attrName, Set values)Returns the organization names.Set<String>SMSLdapObject. searchOrganizationNames(SSOToken token, String dn, int numOfEntries, boolean sortResults, boolean ascendingOrder, String serviceName, String attrName, Set values)Returns the organization names.Set<String>SMSEmbeddedLdapObject. searchSubOrgNames(SSOToken token, String dn, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder, boolean recursive)Returns the suborganization names.Set<String>SMSLdapObject. searchSubOrgNames(SSOToken token, String dn, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder, boolean recursive)Returns the suborganization names.Set<String>SMSEmbeddedLdapObject. subEntries(SSOToken token, String dn, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns the sub-entry names.Set<String>SMSLdapObject. subEntries(SSOToken token, String dn, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns the sub-entry names.Constructors in com.sun.identity.sm.ldap that throw SMSException Constructor Description SMSEmbeddedLdapObject()Public constructor for SMSEmbeddedLdapObjectSMSLdapObject()Public constructor for SMSLdapObject -
Uses of SMSException in org.forgerock.openam.agent
Methods in org.forgerock.openam.agent that throw SMSException Modifier and Type Method Description TokenRestrictionTokenRestrictionResolver. resolve(String agentId, String realm, SSOToken adminToken)Returns an appropriate token restriction for the given agent.TokenRestrictionTokenRestrictionResolver. resolve(String providerId, String gotoUrl, SSOToken adminToken, boolean uniqueSSOTokenCookie)Returns an appropriate token restriction for the given agent. -
Uses of SMSException in org.forgerock.openam.authentication.modules.persistentcookie
Methods in org.forgerock.openam.authentication.modules.persistentcookie that throw SMSException Modifier and Type Method Description Map<String,Object>PersistentCookieModuleWrapper. generateConfig(String tokenIdleTime, String maxTokenLife, boolean enforceClientIP, String realm, boolean secureCookie, boolean httpOnlyCookie, String cookieName, Collection<String> cookieDomains, String hmacKey)Creates a Map of configuration information required to configure the JwtSessionModule.protected ServiceConfigManagerPersistentCookieModuleWrapper. getServiceConfigManager()Returns the config manager for the auth service. -
Uses of SMSException in org.forgerock.openam.core
Methods in org.forgerock.openam.core that throw SMSException Modifier and Type Method Description ServiceConfigManagerCoreServicesWrapper. getServiceConfigManager(String serviceName, SSOToken token)Gets a ServiceConfigManager instance.ServiceConfigManagerCoreWrapper. getServiceConfigManager(String serviceName, SSOToken token)Gets aServiceConfigManagerfor the given service. -
Uses of SMSException in org.forgerock.openam.core.rest.devices.services
Methods in org.forgerock.openam.core.rest.devices.services that throw SMSException Modifier and Type Method Description TAuthenticatorDeviceServiceFactory. create(String realm)Generate a new instance of the DeviceService for this factory in the given realm.TDeviceServiceFactory. create(ServiceConfigManager serviceConfigManager, String realm)Creates a new DeviceService for the current realm.Constructors in org.forgerock.openam.core.rest.devices.services that throw SMSException Constructor Description EncryptedDeviceStorage(ServiceConfigManager configManager, String realm, String debugLocation)Generates a new EncryptedDeviceStorage for a given service. -
Uses of SMSException in org.forgerock.openam.core.rest.devices.services.oath
Methods in org.forgerock.openam.core.rest.devices.services.oath that throw SMSException Modifier and Type Method Description AuthenticatorOathServiceAuthenticatorOathServiceFactory. create(ServiceConfigManager serviceConfigManager, String realm)Constructors in org.forgerock.openam.core.rest.devices.services.oath that throw SMSException Constructor Description AuthenticatorOathService(ServiceConfigManager configManager, String realm)Basic constructor for the AuthenticatorOathService. -
Uses of SMSException in org.forgerock.openam.core.rest.devices.services.push
Methods in org.forgerock.openam.core.rest.devices.services.push that throw SMSException Modifier and Type Method Description AuthenticatorPushServiceAuthenticatorPushServiceFactory. create(ServiceConfigManager serviceConfigManager, String realm)Constructors in org.forgerock.openam.core.rest.devices.services.push that throw SMSException Constructor Description AuthenticatorPushService(ServiceConfigManager serviceConfigManager, String realm)Generates a new AuthenticatorPushStorage, used to encrypt and store device settings on a user's profile under a config storage attribute provided by the service looked up on instance creation. -
Uses of SMSException in org.forgerock.openam.core.rest.sms
Methods in org.forgerock.openam.core.rest.sms that throw SMSException Modifier and Type Method Description protected ServiceConfigSmsResourceProvider. checkedInstanceSubConfig(org.forgerock.services.context.Context context, String resourceId, ServiceConfig config)Retrieves theServiceConfiginstance for the provided resource ID within the provided ServiceConfig parent instance, and checks whether it exists.voidSmsConsoleServiceNameFilter. filter(Set<String> services)Filters (mutates) the provided service set to remove services which should not be displayed to the console.protected ServiceConfigSmsGlobalSingletonProvider. getGlobalConfigNode(ServiceConfigManager scm, String resourceId)Global config can be null which is fine when a schema has no global attributes, but it may have realm attribute defaults and/or dynamic attributes.protected ServiceConfigSmsSingletonProvider. getGlobalConfigNode(ServiceConfigManager scm, String resourceId)Gets the referenced globalServiceConfigfor the current request.protected ServiceConfigSmsServerPropertiesResource. getServerConfigs(SSOToken ssoToken)protected ServiceConfigSmsServerPropertiesResource. getServerConfigs(org.forgerock.services.context.Context serverContext)protected ServiceConfigManagerSmsResourceProvider. getServiceConfigManager(org.forgerock.services.context.Context context)Gets aServiceConfigManagerusing theSSOTokenavailable from the request context.protected ServiceConfigSmsSingletonProvider. getServiceConfigNode(org.forgerock.services.context.Context serverContext, String resourceId)Gets the referencedServiceConfigfor the current request.protected org.forgerock.json.resource.ResourceResponseSitesResourceProvider. getSite(SSOToken token, String siteName)protected org.forgerock.json.JsonValueSmsResourceProvider. getTypeValue(org.forgerock.services.context.Context context)Map<String,String>SmsConsoleServiceNameFilter. mapNameToDisplayName(Set<String> names)Maps service internal names to displayable (localized) names via their resource names.protected ServiceConfigSmsResourceProvider. parentSubConfigFor(org.forgerock.services.context.Context context, ServiceConfigManager scm)Gets the ServiceConfig parent of the parent of the config being addressed by the current request.protected voidSmsGlobalSingletonProvider. saveConfigAttributes(ServiceConfig config, Map<String,Set<String>> attributes)protected voidSmsSingletonProvider. saveConfigAttributes(ServiceConfig config, Map<String,Set<String>> attributes)Constructors in org.forgerock.openam.core.rest.sms that throw SMSException Constructor Description SmsAggregatingAgentsQueryHandler(ServiceSchema schema, Debug debug)Create an instance of the SmsAggregatingAgentsQueryHandlerSmsRequestHandler(SchemaType type, SmsCollectionProviderFactory collectionProviderFactory, SmsSingletonProviderFactory singletonProviderFactory, SmsGlobalSingletonProviderFactory globalSingletonProviderFactory, Debug debug, ExcludedServicesFactory excludedServicesFactory, AuthenticationChainsFilter authenticationChainsFilter, RealmRoutingFactory realmRoutingFactory, SessionCache sessionCache, CoreWrapper coreWrapper, RealmNormaliser realmNormaliser, Map<MatchingResourcePath,org.forgerock.authz.filter.crest.api.CrestAuthorizationModule> globalAuthzModules, CrestPrivilegeAuthzModule privilegeAuthzModule, SmsServiceHandlerFunction smsServiceHandlerFunction, PrivilegedAction<SSOToken> adminTokenAction, ServicesRealmSmsHandler servicesRealmSmsHandler, SitesResourceProvider sitesResourceProvider, ServersResourceProvider serversResourceProvider) -
Uses of SMSException in org.forgerock.openam.security.whitelist
Methods in org.forgerock.openam.security.whitelist that throw SMSException Modifier and Type Method Description protected Set<String>ValidGotoUrlExtractor. getValidGotoUrlPatterns(String realm) -
Uses of SMSException in org.forgerock.openam.services.cdm
Methods in org.forgerock.openam.services.cdm that throw SMSException Modifier and Type Method Description voidBasicClientTypesManager. store(SSOToken token)Save changed to persistent store. -
Uses of SMSException in org.forgerock.openam.services.push
Methods in org.forgerock.openam.services.push that throw SMSException Modifier and Type Method Description PushNotificationServiceConfigHelperPushNotificationServiceConfigHelperFactory. getConfigHelperFor(String realm)Produces a config helper for a given realm. -
Uses of SMSException in org.forgerock.openam.sm
Methods in org.forgerock.openam.sm that throw SMSException Modifier and Type Method Description ServiceSchemaManagerServiceSchemaManagerFactory. build(String service)Builds a new ServiceSchemaManager using the provided service name and the held admin token.ServiceConfigManagerServiceConfigManagerFactory. create(String serviceName, String serviceVersion)Creates a new instance ofServiceConfigManager. -
Uses of SMSException in org.forgerock.openam.uma
Methods in org.forgerock.openam.uma that throw SMSException Modifier and Type Method Description StringUmaSettings. getAuditLogConfig()Gets the config file to be used to store Uma auditStringUmaSettingsImpl. getAuditLogConfig()Gets the config file to be used to store Uma audit -
Uses of SMSException in org.forgerock.openam.upgrade
Methods in org.forgerock.openam.upgrade that throw SMSException Modifier and Type Method Description protected static voidUpgradeUtils. addChoiceValues(AttributeSchema attrSchema, Map choiceValMap)Add choice values to an attribute . -
Uses of SMSException in org.forgerock.openam.utils
Methods in org.forgerock.openam.utils that throw SMSException Modifier and Type Method Description BooleanOpenAMSettings. getBooleanSetting(String realm, String attributeName)Gets the rawSetof the values of the specified attribute name in the given realm and gets the first value and parses it to a Boolean.BooleanOpenAMSettingsImpl. getBooleanSetting(String realm, String attributeName)Gets the rawSetof the values of the specified attribute name in the given realm and gets the first value and parses it to a Boolean.LongOpenAMSettings. getLongSetting(String realm, String attributeName)Gets the rawSetof the values of the specified attribute name in the given realm and gets the first value and decodes it to a Long.LongOpenAMSettingsImpl. getLongSetting(String realm, String attributeName)Gets the rawSetof the values of the specified attribute name in the given realm and gets the first value and decodes it to a Long.Map<String,String>OpenAMSettings. getMapSetting(String realm, String attributeName)Gets a setting from the given realm and parses it as into a Map from string keys to string values, according to theMapValueParserformat.Map<String,String>OpenAMSettingsImpl. getMapSetting(String realm, String attributeName)Gets a setting from the given realm and parses it as into a Map from string keys to string values, according to theMapValueParserformat.static Set<String>RealmUtils. getRealmNames(SSOToken adminToken)Retrieve the names of all the realms starting with '/' and including '/'.KeyPairOpenAMSettings. getServerKeyPair(String realm, String attributeName)Gets the key pair that OpenAM is configured to use for the specified realm.KeyPairOpenAMSettingsImpl. getServerKeyPair(String realm, String alias)Set<String>OpenAMSettings. getSetting(String realm, String attributeName)Gets the rawSetof the values of the specified attribute name in the given realm.Set<String>OpenAMSettingsImpl. getSetting(String realm, String attributeName)Gets the rawSetof the values of the specified attribute name in the given realm.KeyPairOpenAMSettings. getSigningKeyPair(String realm, org.forgerock.json.jose.jws.JwsAlgorithm algorithm)Gets the key pair that OpenAM is configured to use for the specified realm.KeyPairOpenAMSettingsImpl. getSigningKeyPair(String realm, org.forgerock.json.jose.jws.JwsAlgorithm algorithm)Gets the key pair that OpenAM is configured to use for the specified realm.StringOpenAMSettings. getStringSetting(String realm, String attributeName)Gets the rawSetof the values of the specified attribute name in the given realm and gets the first value.StringOpenAMSettingsImpl. getStringSetting(String realm, String attributeName)Gets the rawSetof the values of the specified attribute name in the given realm and gets the first value.booleanOpenAMSettings. hasConfig(String realm)Whether there is realm config for the servicebooleanOpenAMSettingsImpl. hasConfig(String realm)
-