Uses of Class
com.iplanet.sso.SSOException
-
Packages that use SSOException Package Description com.iplanet.sso This package contains classes fro accessing the Single Sign On service and representing a SSOToken(Single Sign On) which contains the information related to session.com.iplanet.sso.providers.dpro This package contains classes that represent SSOProvidercom.sun.identity.idm Provides classes for accessing the Identity Repository interfaces.com.sun.identity.policy Provides classes for policy administration and evaluation.com.sun.identity.policy.interfaces Deprecated interfaces for writing custom Policy plugins for Conditions, Subjects, Referrals, ResponseProviders and Resources.com.sun.identity.sm Provides classes for accessing the Service Management Service (SMS).org.forgerock.am.identity.application org.forgerock.am.identity.domain org.forgerock.am.identity.persistence org.forgerock.openam.secrets The AM supporting classes for centrally configuring secrets. -
-
Uses of SSOException in com.iplanet.sso
Subclasses of SSOException in com.iplanet.sso Modifier and Type Class Description class
SSOTokenListenersUnsupportedException
ThisSSOTokenCannotBeObservedException
is thrown when callingSSOToken.addSSOTokenListener(SSOTokenListener)
on anSSOToken
type that does not generate lifecycle events.Methods in com.iplanet.sso that throw SSOException Modifier and Type Method Description void
SSOToken. addSSOTokenListener(SSOTokenListener listener)
Adds an SSO token listener for the token change events.SSOToken
SSOTokenManager. createSSOToken(String tokenId)
Creates a single sign on token from the single sign on token ID.SSOToken
SSOTokenManager. createSSOToken(String tokenId, String clientIP)
Creates a single sign on token from the single sign on token ID.SSOToken
SSOTokenManager. createSSOToken(javax.servlet.http.HttpServletRequest request)
Creates a single sign on token fromHttpServletRequest
String
SSOToken. dereferenceRestrictedTokenID(SSOToken requester, String restrictedId)
Given a restricted token, returns the SSOTokenID of the master token can only be used if the requester is an app token.void
SSOTokenManager. destroyToken(SSOToken token)
Destroys a single sign on token.void
SSOTokenManager. destroyToken(SSOToken destroyer, SSOToken destroyed)
Destroys a single sign on token.int
SSOToken. getAuthLevel()
Returns the authentication level of the authentication method used for authentication.String
SSOToken. getAuthType()
Returns the authentication method used for authentication.String
SSOToken. getHostName()
Returns the host name of the client (browser) that sent the request.long
SSOToken. getIdleTime()
Returns the session idle time in seconds.static SSOTokenManager
SSOTokenManager. getInstance()
Returns the singleton instance ofSSOTokenManager
.InetAddress
SSOToken. getIPAddress()
Returns the IP Address of the client (browser) that sent the request.long
SSOToken. getMaxIdleTime()
Returns the maximum session idle time in minutes.long
SSOToken. getMaxSessionTime()
Returns the maximum session time in minutes.Principal
SSOToken. getPrincipal()
Returns the value of the property "Principal" set to the single sign on token.Map<String,String>
SSOToken. getProperties()
Get an unmodifiable map of all properties stored in this token.String
SSOToken. getProperty(String name)
Gets the property stored in this token.String
SSOToken. getProperty(String name, boolean ignoreState)
Gets the property stored in this token.long
SSOToken. getTimeLeft()
Returns the time left in seconds on the session based on max session time.int
SSOTokenEvent. getType()
Returns the type of this event.Set
SSOTokenManager. getValidSessions(SSOToken requester, String server)
Returns a list of single sign on token objects which correspond to valid Sessions accessible to requester.boolean
SSOToken. isTokenRestricted()
Returns true if the SSOTokenID associated with this SSOToken is a restricted token, false otherwise.void
SSOTokenManager. refreshSession(SSOToken token)
Refresh the Session corresponding to the single sign on token from the Session Server.void
SSOToken. setProperty(String name, String value)
Sets a property for this token.void
SSOTokenManager. validateToken(SSOToken token)
Returns true if the single sign on token is valid. -
Uses of SSOException in com.iplanet.sso.providers.dpro
Methods in com.iplanet.sso.providers.dpro that throw SSOException Modifier and Type Method Description void
SSOProviderImpl. destroyToken(SSOToken destroyer, SSOToken destroyed)
Destroys a single sign on token.Set<SSOToken>
SSOProviderImpl. getValidSessions(SSOToken requester, String server)
Returns a list of single sign on token objects which correspond to valid Sessions accessible to requester. -
Uses of SSOException in com.sun.identity.idm
Methods in com.sun.identity.idm that throw SSOException Modifier and Type Method Description abstract int
IdRepo. addListener(SSOToken token, IdRepoListener listener)
Adds a listener for changes in the repositoryvoid
AMIdentity. addMember(AMIdentity identity)
Adds the passed identity as a member of this identity.void
AMIdentity. addMembers(Set<AMIdentity> identities)
Adds the passed identities as members of this identity.void
AMIdentity. assignService(String serviceName, org.forgerock.openam.sm.ConfigurationAttributes attributes)
Assigns the service and service related attributes to the identity.abstract void
IdRepo. assignService(SSOToken token, IdType type, String name, String serviceName, SchemaType stype, Map<String,Set<String>> attrMap)
This method is used to assign a service to the given identity.void
AMIdentity. changePassword(String oldPassword, String newPassword)
Changes password for the identity.void
IdRepo. changePassword(SSOToken token, IdType type, String name, String attrName, String oldPassword, String newPassword)
Changes password of identity.abstract String
IdRepo. create(SSOToken token, IdType type, String name, Map<String,Set<String>> attrMap)
Creates an identity.Set<AMIdentity>
AMIdentityRepository. createIdentities(IdType type, Map<String,Map<?,?>> identityNamesAndAttrs)
Create a set ofAMIdentity
s.AMIdentity
AMIdentityRepository. createIdentity(IdType type, String idName, Map attrMap)
Create anAMIdentity
object.abstract void
IdRepo. delete(SSOToken token, IdType type, String name)
Deletes an identity.void
AMIdentityRepository. deleteIdentities(IdType type, Set identities)
Delete a set of identities byIdType
.void
AMIdentityRepository. deleteIdentities(Set<AMIdentity> identities)
Delete a set ofAMIdentity
s.Set
AMIdentityRepository. getAllowedIdOperations(IdType type)
Get allowed identity operations.Set<String>
AMIdentity. getAssignableServices()
Returns all services which can be assigned to this entity.Set<String>
AMIdentity. getAssignedServices()
Returns the set of services already assigned to this identity.abstract Set<String>
IdRepo. getAssignedServices(SSOToken token, IdType type, String name, Map<String,Set<String>> mapOfServicesAndOCs)
Returns the set of services assigned to this identity.Set<String>
AMIdentity. getAttribute(String attrName)
Returns the values of the requested attribute.Map
AMIdentity. getAttributes()
Returns all attributes and values of this identity.Map
AMIdentity. getAttributes(Set<String> attrNames)
Returns requested attributes and values of this object.abstract Map<String,Set<String>>
IdRepo. getAttributes(SSOToken token, IdType type, String name)
Returns all attributes and values of name objectabstract Map<String,Set<String>>
IdRepo. getAttributes(SSOToken token, IdType type, String name, Set<String> attrNames)
Returns requested attributes and values of name object.Map
AMIdentity. getBinaryAttributes(Set attrNames)
Returns requested attributes and values of this object.abstract Map<String,byte[][]>
IdRepo. getBinaryAttributes(SSOToken token, IdType type, String name, Set<String> attrNames)
Returns requested binary attributes as an array of bytes.abstract Map<String,byte[][]>
IdRepo. getBinaryServiceAttributes(SSOToken token, IdType type, String name, String serviceName, Set<String> attrNames)
Returns the requested binary attribute values of the service attributes as an array of bytes.String
IdRepo. getFullyQualifiedName(SSOToken token, IdType type, String name)
Returns the fully qualified name for the identity.static AMIdentity
IdUtils. getIdentity(SSOToken token)
Set<AMIdentity>
AMIdentity. getMembers(IdType mtype)
Return all members of a given identity type of this identity as a Set of AMIdentity objects.abstract Set<String>
IdRepo. getMembers(SSOToken token, IdType type, String name, IdType membersType)
Returns the memberships of an identity.Set<AMIdentity>
AMIdentity. getMemberships(IdType mtype)
Returns the set of identities that this identity belongs to.abstract Set<String>
IdRepo. getMemberships(SSOToken token, IdType type, String name, IdType membershipType)
Returns the memberships of an identity.AMIdentity
AMIdentityRepository. getRealmIdentity()
Get the realmAMIdentity
object.Map<String,Set<String>>
AMIdentity. getServiceAttributes(String serviceName)
Returns attributes related to a service, if the service is assigned to the identity.abstract Map<String,Set<String>>
IdRepo. getServiceAttributes(SSOToken token, IdType type, String name, String serviceName, Set<String> attrNames)
Returns the attribute values of the service attributes.Map
AMIdentity. getServiceAttributesAscending(String serviceName)
Returns attributes related to a service, if the service is assigned to the identity.Set
AMIdentityRepository. getSupportedIdTypes()
Get supported identity types.boolean
AMIdentity. isActive()
If there is a status attribute configured, then verifies if the identity is active and returns true.boolean
IdRepo. isActive(SSOToken token, IdType type, String name)
Returns true if thename
object is active.boolean
AMIdentity. isExists()
This method determines if the identity exists and returns true or false.abstract boolean
IdRepo. isExists(SSOToken token, IdType type, String name)
Returns true if thename
object exists in the data store.boolean
AMIdentity. isMember(UniversalId universalId)
Verifies if this identity is a member of the identity being passed.abstract void
IdRepo. modifyMemberShip(SSOToken token, IdType type, String name, Set<String> members, IdType membersType, int operation)
Modify membership of the identity.void
AMIdentity. modifyService(String serviceName, org.forgerock.openam.sm.ConfigurationAttributes attrMap)
Set attributes related to a specific service.abstract void
IdRepo. modifyService(SSOToken token, IdType type, String name, String serviceName, SchemaType sType, Map<String,Set<String>> attrMap)
Modifies the attribute values of the service attributes.void
AMIdentity. removeAttributes(Set<String> attrNames)
Removes the attributes from the identity entry.abstract void
IdRepo. removeAttributes(SSOToken token, IdType type, String name, Set<String> attrNames)
Removes the attributes from the identity.void
AMIdentity. removeMember(AMIdentity identity)
Removes the passed identity as a member of this identity.void
AMIdentity. removeMembers(Set<AMIdentity> identities)
Removes the passed identities as members of this identity.void
AMIdentity. removeServiceAttributes(String serviceName, Set<String> attrNames)
Removes attributes value related to a specific service by setting it to empty.abstract com.sun.identity.idm.RepoSearchResults
IdRepo. search(SSOToken token, IdType type, org.forgerock.openam.utils.CrestQuery crestQuery, int maxTime, int maxResults, Set<String> returnAttrs, boolean returnAllAttrs, int filterOp, Map<String,Set<String>> avPairs, boolean recursive)
Search for specific type of identities using a CrestQuery object instead of a string.IdSearchResults
AMIdentityRepository. searchIdentities(IdType type, String pattern, IdSearchControl ctrl)
Search for identities of certain types from each plugin and returns a combined result.void
AMIdentity. setActiveStatus(boolean active)
If there is a status attribute configured, then set its status to true or activated state if the parameter active is true.abstract void
IdRepo. setActiveStatus(SSOToken token, IdType type, String name, boolean active)
Sets the object's status toactive
.void
AMIdentity. setAttributes(Map attrMap)
Sets the values of attributes.abstract void
IdRepo. setAttributes(SSOToken token, IdType type, String name, Map<String,Set<String>> attributes, boolean isAdd)
Set the values of attributes of the identity.void
AMIdentity. setBinaryAttributes(Map attrMap)
Set the values of binary attributes.abstract void
IdRepo. setBinaryAttributes(SSOToken token, IdType type, String name, Map<String,byte[][]> attributes, boolean isAdd)
Set the values of binary attributes the identity.void
AMIdentity. store()
Stores the attributes of the object.void
AMIdentity. unassignService(String serviceName)
Removes a service from the identity.abstract void
IdRepo. unassignService(SSOToken token, IdType type, String name, String serviceName, Map<String,Set<String>> attrMap)
If the service is already assigned to the identity then this method unassigns the service and removes the related attributes from the entry.Constructors in com.sun.identity.idm that throw SSOException Constructor Description AMIdentity(SSOToken token)
Constructs a newAMIdentity
instance from the passed token.AMIdentityRepository(SSOToken ssoToken, String realmName)
Deprecated.Use the other constructorAMIdentityRepository(String, SSOToken)
-
Uses of SSOException in com.sun.identity.policy
Methods in com.sun.identity.policy that throw SSOException Modifier and Type Method Description void
PolicyManager. addPolicy(Policy policy)
Deprecated.Adds a policy to the data store.void
Policy. addRealmSubject(SSOToken token, String subjectName, String realmName, boolean exclusive)
Deprecated.Adds a reference in the policy to a Subject defined at the realm.void
Policy. addRealmSubject(String subjectName, SubjectTypeManager stm, boolean exclusive)
Deprecated.Adds a reference in the policy to a Subject defined at the realm.void
SubjectTypeManager. addSubject(String subjectName, Subject subject)
Deprecated.Adds a policy subject at realm.Set
ConditionTypeManager. getConditionTypeNames()
Deprecated.Returns aSet
of all valid condition type names defined by the policy service.Policy
PolicyManager. getPolicy(String policyName)
Deprecated.Gets the policy object given the name of the policy.PolicyDecision
PolicyEvaluator. getPolicyDecision(SSOToken token, String resourceName, Set actionNames, Map envParameters)
Deprecated.Evaluates privileges of the user to perform the specified actions on the specified resource.PolicyDecision
ProxyPolicyEvaluator. getPolicyDecisionIgnoreSubjects(String resourceName, Set actionNames, Map env)
Deprecated.Gets policy decision for a resource, skipping subject evaluation.Set
PolicyManager. getPolicyNames()
Deprecated.Gets a set of names of polices defined in the organization for which the policy manager was instantiated.Set
PolicyManager. getPolicyNames(String pattern)
Deprecated.Gets a set of selected policy names matching the pattern in the given organization.ProxyPolicyEvaluator
ProxyPolicyEvaluatorFactory. getProxyPolicyEvaluator(SSOToken token, String serviceType)
Deprecated.Gets an instance ofProxyPolicyEvaluator
.Set
ReferralTypeManager. getReferralTypeNames()
Deprecated.Returns a set of all valid referral type names defined by the policy service.Set
PolicyEvaluator. getResourceResults(SSOToken userToken, String resourceName, String scope, Map envParameters)
Deprecated.Gets resource result objects given a resource name.Set
ResponseProviderTypeManager. getResponseProviderTypeNames()
Deprecated.Returns a set of all validResponseProvider
type names defined in thePolicyConfig
service.Set
ConditionTypeManager. getSelectedConditionTypeNames()
Deprecated.Returns aSet
of valid condition type names configured for the organization.Set
ReferralTypeManager. getSelectedReferralTypeNames()
Deprecated.Returns a set of valid referral type names configured for the organization.Set
ResponseProviderTypeManager. getSelectedResponseProviderTypeNames()
Deprecated.Returns a set of validResponseProvider
type names configured.Set
SubjectTypeManager. getSelectedSubjectTypeNames()
Deprecated.Returns a set of valid subject type names configured for the organization.Set
SubjectTypeManager. getSubjectNames()
Deprecated.Get the set of names of Subject(s) defined at the realmSet
SubjectTypeManager. getSubjectTypeNames()
Deprecated.Returns a set of all valid subject type names defined by the policy service.boolean
PolicyEvaluator. isAllowed(SSOToken token, String resourceName, String actionName, Map envParameters)
Deprecated.Evaluates simple privileges of boolean type.void
PolicyManager. removePolicy(String policyName)
Deprecated.Deletes a policy in the organization with the given name.Subject
SubjectTypeManager. removeSubject(String subjectName)
Deprecated.Removes the subject with the given name from the realm.Subject
SubjectTypeManager. removeSubject(String subjectName, boolean forcedRemove)
Deprecated.Removes the subject with the given name from the realm.void
PolicyManager. replacePolicy(Policy policy)
Deprecated.Replaces a policy object in the data store with the same policy namevoid
SubjectTypeManager. replaceSubject(String subjectName, Subject subject)
Deprecated.Replaces an existing subject with the same name by the current one at the realm.void
Policy. store(SSOToken token, String name)
Deprecated.Stores the policy object in a persistent data store under the organization, sub-organization or a container object, specified as a parameter.Constructors in com.sun.identity.policy that throw SSOException Constructor Description PolicyEvaluator(String serviceTypeName)
Deprecated.Constructor to create aPolicyEvaluator
given theServiceType
name.PolicyManager(SSOToken token)
Deprecated.Constructor forPolicyManager
for the top (or root) organization.PolicyManager(SSOToken token, String name)
Deprecated.Constructor forPolicyManager
for the specified organization, sub organization or a container object.ReferralTypeManager()
Deprecated.Creates aReferralTypeManager
objectSubjectTypeManager()
Deprecated.Constructs aSubjectTypeManager
object -
Uses of SSOException in com.sun.identity.policy.interfaces
Methods in com.sun.identity.policy.interfaces that throw SSOException Modifier and Type Method Description ConditionDecision
Condition. getConditionDecision(SSOToken token, Map<String,Set<String>> env)
Deprecated.Gets the decision computed by this condition object, based on theMap
of environment parametersPolicyDecision
Referral. getPolicyDecision(SSOToken token, String resourceType, String resourceName, Set actionNames, Map envParameters)
Deprecated.Gets policy resultsSet
Referral. getResourceNames(SSOToken token, String serviceTypeName, String resourceName)
Deprecated.Gets resource names that are exact matches, sub resources or wild card matches of argument resource name.Map
ResponseProvider. getResponseDecision(SSOToken token, Map env)
Deprecated.Gets the response attributes computed by this ResponseProvider object, based on theSSOToken
andMap
of environment parameters.ValidValues
Referral. getValidValues(SSOToken token)
Deprecated.Gets the valid values for this referralValidValues
Referral. getValidValues(SSOToken token, String pattern)
Deprecated.Gets the valid values for this referral matching a patternValidValues
Subject. getValidValues(SSOToken token)
Deprecated.Returns a list of possible values for theSubject
.ValidValues
Subject. getValidValues(SSOToken token, String pattern)
Deprecated.Returns a list of possible values for theSubject
that satisfy the givenpattern
.Syntax
Referral. getValueSyntax(SSOToken token)
Deprecated.Gets the syntax for the valueSyntax
Subject. getValueSyntax(SSOToken token)
Deprecated.Returns the syntax of the values theSubject
implementation can have.boolean
Subject. isMember(SSOToken token)
Deprecated.Determines if the user belongs to this instance of theSubject
object. -
Uses of SSOException in com.sun.identity.sm
Methods in com.sun.identity.sm that throw SSOException Modifier and Type Method Description void
ServiceConfig. addAttribute(String attrName, Set<String> values)
Adds a configuration parameter to the service configuration.void
ServiceInstance. addAttribute(String attrName, Set<String> values)
Adds the given attribute name and values to the attribute set.void
ServiceSchema. addAttributeSchema(InputStream xmlAttrSchema)
Adds the attribute schema to this service.void
AttributeSchema. addChoiceValue(String value, String i18nKey)
Adds a choice value and its i18n key to the existing set of choice values.void
ServiceConfigManager. addConfiguration(InputStream in)
Adds instances, global and organization configurationsvoid
AttributeSchema. addDefaultValue(String value)
Adds a default value to the existing set of default values.void
ServiceConfig. addExportedOrganizationNames(Set<String> names)
Adds the organization names to the list of organization names that can import this service configutation.void
ServiceConfig. addSubConfig(String subConfigName, String subConfigId, int priority, org.forgerock.openam.sm.ConfigurationAttributes attrs)
Adds a service sub-configuration with configuration parameters.void
ServiceConfig. addSubConfig(String subConfigName, String subConfigId, int priority, org.forgerock.openam.sm.ConfigurationAttributes attrs, boolean isNewRealm)
Adds a service sub-configuration with configuration parameters.void
ServiceConfig. addSubConfig(String subConfigName, String subConfigId, org.forgerock.openam.sm.ConfigurationAttributes attrs)
Adds a service sub-configuration with configuration parameters.void
ServiceSchema. addSubSchema(InputStream xmlSubSchema)
Adds the service's sub-schema given the XML input stream that follows the SMS DTD.void
ServiceSchema. addSubSchema(Document xmlSubSchema)
Adds the service's sub-schema given the XML document that follows the SMS DTD.void
ServiceConfig. checkAndCreateGroup(String dn, String groupName, org.forgerock.openam.services.datastore.DataStoreId dataStoreId)
ServiceConfig
ServiceConfigManager. createGlobalConfig(Map<String,Set<String>> attrs)
Creates global configuration for the default instance of the service given the configuration attributes.ServiceConfig
ServiceConfigManager. createGlobalConfig(Map<String,Set<String>> attrs, org.forgerock.openam.services.datastore.DataStoreId dataStoreId)
Creates global configuration for the default instance of the service given the configuration attributes.ServiceConfig
ServiceConfigManager. createOrganizationConfig(String orgName, org.forgerock.openam.sm.ConfigurationAttributes attrs, org.forgerock.openam.services.datastore.DataStoreId dataStoreId)
Creates organization configuration for the default instance of the service given configuration attributes.void
ServiceConfig. deleteLabeledUri(String luri)
Deprecated.The labeledURI setting shall not be used for storing configuration data.void
ServiceConfigManager. deleteOrganizationConfig(String orgName)
Deletes the organization configuration data for the given organization.ServiceConfigManager
ServiceManager. getConfigManager(String serviceName, String version)
Returns theServiceConfigManager
for the given service name and version.ServiceConfig
ServiceConfigManager. getGlobalConfig(String instanceName)
Returns the global configuration for the given service instance.ServiceConfig
ServiceConfigManager. getGlobalConfig(String instanceName, org.forgerock.openam.services.datastore.DataStoreId dataStoreId)
Returns the global configuration for the given service instance.ServiceInstance
ServiceConfigManager. getInstance(String instanceName)
Returns the service instance given the instance nameString
ServiceConfig. 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 entryServiceConfig
ServiceConfigManager. getOrganizationConfig(String orgName, String instanceName)
Returns the organization configuration for the given organization and instance name.ServiceConfig
ServiceConfigManager. getOrganizationConfig(String orgName, String instanceName, org.forgerock.openam.services.datastore.DataStoreId dataStoreId)
Returns the organization configuration for the given organization and instance name.ServiceSchemaManager
ServiceManager. getSchemaManager(String serviceName, String version)
Returns theServiceSchemaManager
for the given service name and version.ServiceConfig
ServiceConfig. getSubConfig(String subConfigName)
Returns the service's sub-configuration given the service's sub-configuration name.void
ServiceConfig. importSubConfig(String subConfigName, String exportedSubConfigName)
Imports a service sub-configuration to the list of localy defined sub-configuration.Set<String>
ServiceManager. registerServices(InputStream xmlServiceSchema)
Registers one or more services, defined by the XML input stream that follows the SMS DTD.void
ServiceConfig. removeAttribute(String attrName)
Removes a configuration parameter from the service configuration.void
ServiceInstance. removeAttribute(String attrName)
Removes the specified attribute name and its values from the attribute set.void
ServiceSchema. removeAttributeDefaults(Set<String> attrs)
Removes the default values of attributes in the schema.void
ServiceConfig. removeAttributes(Set<String> attrNames)
Removes a configuration parameters from the service configuration.void
ServiceSchema. removeAttributeSchema(String attrName)
Removes the attribute schema from this service.void
ServiceConfig. removeAttributeValues(String attrName, Set<String> values)
Removes the specific values for the given configuration parameter.void
ServiceInstance. removeAttributeValues(String attrName, Set<String> values)
Removes the specified attribute's values.void
AttributeSchema. removeChoiceValue(String value)
Removes the given value from the set of choice values.void
AttributeSchema. removeDefaultValue(String value)
Removes the given value from the set of default values.void
AttributeSchema. removeDefaultValues()
Removes the all the default values for the attribute.void
ServiceConfigManager. removeGlobalConfiguration(String groupName)
Deletes the global configuration data for the given group name.void
ServiceConfigManager. removeInstance(String instanceName)
Removes the instance form the servicevoid
ServiceConfigManager. removeOrganizationConfiguration(String orgName, String groupName)
Deprecated.void
ServiceConfigManager. removeOrganizationConfiguration(String orgName, String groupName, org.forgerock.openam.services.datastore.DataStoreId dataStoreId)
Deletes the organization's group configuration data.void
ServiceManager. removeService(String serviceName, String version)
Removes the service schema and configuration for the given service name.void
ServiceConfig. removeSharedOrganizationNames(Set<String> names)
Removes the organization names from the list of organization names that can import the service configuration.void
ServiceConfig. removeSubConfig(String subConfigName)
Removes the service sub-configuration.void
ServiceSchema. removeSubSchema(String subSchemaName)
Removes the service's sub-schema from the service.void
ServiceSchema. replaceAttributeSchema(String attrName, Node attributeSchemaNode)
Removes the attribute schema from this service.void
ServiceConfig. replaceAttributeValue(String attrName, String oldValue, String newValue)
Replaces old value of the configuration parameter with new value.void
ServiceInstance. replaceAttributeValue(String attrName, String oldValue, String newValue)
Replaces the attribute's old value with the new value.void
ServiceConfig. replaceAttributeValues(String attrName, Set<String> oldValues, Set<String> newValues)
Replaces the old values of the configuration parameter with the new values.void
ServiceInstance. replaceAttributeValues(String attrName, Set<String> oldValues, Set<String> newValues)
Replaces the attribute's old values with the new valuesvoid
ServiceSchemaManager. replaceSchema(InputStream xmlServiceSchema)
Replaces the existing service schema with the given schema defined by the XML input stream that follows the SMS DTD.void
ServiceSchema. replaceSubSchema(String subSchemaName, Document xmlSubSchema)
Replaces the service's sub-schema given the XML document that follows the SMS DTD.void
AttributeSchema. setAny(String a)
Sets the any attribute.void
ServiceConfig. setAttributes(Map attrs)
void
ServiceConfig. setAttributes(org.forgerock.openam.sm.ConfigurationAttributes attrs)
Sets the service configuration parameters.void
ServiceInstance. setAttributes(org.forgerock.openam.sm.ConfigurationAttributes attrs)
Sets the attributes that are specific to the service instance.void
AttributeSchema. setBooleanValues(String trueValue, String trueValueI18nKey, String falseValue, String falseValueI18nKey)
Sets the boolean values of the attribute.void
AttributeSchema. setCosQualifier(String cosq)
Sets thecosQualifier
attributevoid
AttributeSchema. setDefaultValues(Set<String> values)
Sets the default values of the attribute.void
AttributeSchema. setEndRange(String edRange)
Sets the end range Attribute.void
ServiceConfig. setExportedOrganizationNames(Set<String> names)
Sets the organization names that can import the service configuration.void
ServiceInstance. setGroup(String groupName)
Sets the group name for this instance.void
ServiceSchema. setI18NFileName(String url)
Sets the I18N properties file name for the service schemavoid
ServiceSchemaManager. setI18NFileName(String url)
Sets the I18N properties file name for the servicevoid
ServiceSchemaManager. setI18NJarURL(String url)
Sets the URL of the JAR file that contains the I18N propertiesvoid
ServiceSchema. setI18Nkey(String key)
Sets the value of the I18N key in the service schema.void
AttributeSchema. setI18NKey(String i18nKey)
Sets the I18N key to describe the configuration attribute.void
ServiceSchemaManager. setI18NKey(String i18nKey)
Sets the i18nKey of the schema.void
ServiceSchema. setInheritance(String value)
Set the value of inheritance attribute in service schema.void
ServiceConfig. setLabeledUri(String luri)
Deprecated.The labeledURI setting shall not be used for storing configuration data.void
AttributeSchema. setMaxValue(String maxV)
Sets the maximum value attribute.void
AttributeSchema. setMinValue(String minV)
Sets the minimum value attribute.void
AttributeSchema. setOrder(Integer order)
Sets the order of this attribute.void
ServiceConfig. setPriority(int priority)
Sets the priority to the service configuration.void
AttributeSchema. setPropertiesViewBeanUR(String prop)
Sets the URL of the view bean for the attribute.void
ServiceSchemaManager. setPropertiesViewBeanURL(String url)
Sets the URL of the view bean for the service.void
AttributeSchema. setResourceName(String name)
Sets the CREST representation name for the attribute.void
ServiceSchema. setResourceName(String name)
Sets the CREST resource name for the service schema.void
ServiceSchemaManager. setResourceName(String name)
Sets the service's resource name for CREST representation.void
AttributeSchema. setSearchable(String value)
Sets the attribute isSearchable, if value is set totrue
, orfalse
.void
ServiceSchemaManager. setServiceHierarchy(String newhierarchy)
Sets the service's hierarchyvoid
AttributeSchema. setStartRange(String stRange)
Sets the start range attribute.void
AttributeSchema. setSyntax(String synt)
Sets the Syntax attribute.void
AttributeSchema. setType(String type)
Sets the type.void
AttributeSchema. setUIType(String uiType)
Sets theUIType
attribute.void
ServiceInstance. setURI(String uri)
Sets the URI for the service instance.void
AttributeSchema. setValidator(String valid)
Sets the Validator attributeString
ServiceConfig. toXML(String NodeTag, com.iplanet.services.util.AMEncryption encryptObj)
String
ServiceConfig. toXML(String NodeTag, com.iplanet.services.util.AMEncryption encryptObj, String orgName)
protected void
AttributeSchema. updateBooleanValues(String trueValue, String trueValueI18nKey, String falseValue, String falseValueI18nKey, Document doc)
protected void
AttributeSchema. updateChoiceValues(Map<String,String> choiceValues)
protected void
AttributeSchema. updateChoiceValues(Map<String,String> choiceValues, Document doc)
protected void
AttributeSchema. updateDefaultValues(Set<String> defaultValues)
Method for modifying default valuesprotected void
AttributeSchema. updateDefaultValues(Set<String> defaultValues, Document doc)
Method for modifying default values given the XML documentprotected void
AttributeSchema. updateXMLDocument(StringBuffer sb, String elementName, Document updateDoc)
protected void
AttributeSchema. updateXMLDocument(String attrName, String attrValue)
update attribute value in attribute schema elementConstructors in com.sun.identity.sm that throw SSOException Constructor Description ServiceConfigManager(SSOToken token, String serviceName, String version)
Creates an instance ofServiceConfigManager
for the given service and version.ServiceManager(SSOToken token)
Creates an instance ofServiceManager
. -
Uses of SSOException in org.forgerock.am.identity.application
Methods in org.forgerock.am.identity.application that throw SSOException Modifier and Type Method Description void
IdentityService. addMember(Identity parent, UniversalId universalId)
Adds the passed identity as a member of this identity.void
IdentityService. addMembers(Identity parent, Set<UniversalId> identities)
Adds the passed identities as members of this identity.void
LegacyIdentityServiceStore. assignService(Identity identity, String serviceName, org.forgerock.openam.sm.ConfigurationAttributes attributes)
Assigns the service and service related attributes to the identity.void
IdentityService. changePassword(Identity identity, String oldPassword, String newPassword)
Changes password for the identity.Set<AMIdentity>
LegacyIdentityService. findActiveIdentities(Realm realm, IdType idType, Map<String,Set<String>> searchAttributes, IdSearchOpModifier searchModifier)
Searches for AM identities with the given attributes in the given realm.Optional<AMIdentity>
LegacyIdentityService. findActiveIdentity(Realm realm, IdType idType, Map<String,Set<String>> searchAttributes)
Searches for an AM identity with the given attributes in the given realm.Set<String>
LegacyIdentityServiceStore. getAssignableServices(Identity identity)
Returns all services which can be assigned to this entity.Set<String>
LegacyIdentityServiceStore. getAssignedServices(Identity identity)
Returns the set of services already assigned to this identity.Map<String,byte[][]>
IdentityService. getBinaryAttributes(Identity identity, Set<String> attrNames)
Returns requested attributes and values of this object.Set<AMIdentity>
IdentityService. getMembers(Identity identity, IdType mtype)
Return all members of a given identity type of this identity as a Set of Identity objects.Set<AMIdentity>
IdentityService. getMemberships(Identity identity, IdType mtype)
Returns the set of identities that this identity belongs to.Map<String,Set<String>>
LegacyIdentityServiceStore. getServiceAttributes(Identity identity, String serviceName)
Returns attributes related to a service, if the service is assigned to the identity.Map<String,Set<String>>
LegacyIdentityServiceStore. getServiceAttributesAscending(Identity identity, String serviceName)
Returns attributes related to a service, if the service is assigned to the identity.boolean
IdentityService. isActive(Identity identity)
If there is a status attribute configured, then verifies if the identity is active and returns true.boolean
IdentityService. isMember(Identity identity, UniversalId universalId)
Verifies if this identity is a member of the identity being passed.void
LegacyIdentityServiceStore. modifyService(Identity identity, String serviceName, org.forgerock.openam.sm.ConfigurationAttributes attrMap)
Set attributes related to a specific service.IdentityService.IdentityAttributeUpdater
IdentityService.IdentityAttributeUpdater. removeAttributes(Set<String> attrNames)
Removes the attributes from the identity entry.void
IdentityService. removeMember(Identity parent, UniversalId universalId)
Removes the passed identity as a member of this identity.void
IdentityService. removeMembers(Identity parent, Set<UniversalId> identities)
Removes the passed identities as members of this identity.void
LegacyIdentityServiceStore. removeServiceAttributes(Identity identity, String serviceName, Set<String> attrNames)
Removes attributes value related to a specific service by setting it to empty.void
IdentityService. setActiveStatus(Identity identity, boolean active)
If there is a status attribute configured, then set its status to true or activated state if the parameter active is true.IdentityService.IdentityAttributeUpdater
IdentityService.IdentityAttributeUpdater. setAttributes(Map attrMap)
Sets the values of attributes.IdentityService.IdentityAttributeUpdater
IdentityService.IdentityAttributeUpdater. setBinaryAttributes(Map attrMap)
Set the values of binary attributes.void
IdentityService.IdentityAttributeUpdater. store()
Stores the attributes of the object.void
LegacyIdentityServiceStore. unassignService(Identity identity, String serviceName)
Removes a service from the identity. -
Uses of SSOException in org.forgerock.am.identity.domain
Methods in org.forgerock.am.identity.domain that throw SSOException Modifier and Type Method Description Set<String>
Identity. getAttribute(String attrName)
Returns the values of the requested attribute.Map<String,Set<String>>
Identity. getAttributes()
Returns all attributes and values of this identity.Map<String,Set<String>>
Identity. getAttributes(Set<String> attrNames)
Returns requested attributes and values of this object.boolean
Identity. isExists()
This method determines if the identity exists and returns true or false.static UniversalId
UniversalId. of(SSOToken token)
Creates a newUniversalId
instance based of the passed token. -
Uses of SSOException in org.forgerock.am.identity.persistence
Methods in org.forgerock.am.identity.persistence that throw SSOException Modifier and Type Method Description AMIdentity
IdentityStore. createIdentity(IdType type, String idName, Map<String,Set<String>> attrMap)
Create anAMIdentity
object.AMIdentity
IdentityStore. createWithoutValidatingAttributes(SSOToken token, IdType type, String name, Map<String,Set<String>> attrs, String orgName)
Create a new identity without validating the given attributes.void
IdentityStore. deleteIdentity(AMIdentity identity)
Delete anAMIdentity
s.Optional<AMIdentity>
IdentityStore. findIdentityByUsername(String username, IdType type)
Searches for the identity using the username.Optional<AMIdentity>
IdentityStore. findUserByUsernameOrAlias(String username, Set<String> userSearchAttributes)
Searches for the user using the username, then uses the search attributes if nothing is found.Set<IdOperation>
IdentityStore. getAllowedIdOperations(IdType type)
Get allowed identity operations.AMIdentity
IdentityStore. getRealmIdentity()
Get the realmAMIdentity
object.IdSearchResults
IdentityStore. getSpecialIdentities(SSOToken token, IdType type, String orgName)
Return the special identities for this realm for a given type.Set<IdType>
IdentityStore. getSupportedIdTypes()
Get supported identity types.IdSearchResults
IdentityStore. searchIdentities(IdType type, String pattern, IdSearchControl ctrl)
Search for identities of certain types from each plugin and returns a combined result.IdSearchResults
IdentityStore. searchIdentities(IdType type, org.forgerock.openam.utils.CrestQuery crestQuery, IdSearchControl ctrl)
Searches for identities of certain types from each plugin and returns a combined result Note: The AMIdentity objects representing IdType.REALM can be used for services related operations only.IdSearchResults
IdentityStore. searchIdentitiesByUsername(IdType type, String pattern, IdSearchControl ctrl)
Search for a single identity based on the identity of certain types from each plugin. -
Uses of SSOException in org.forgerock.openam.secrets
Methods in org.forgerock.openam.secrets that throw SSOException Modifier and Type Method Description static void
SecretsUtils. createKeyStorePurposeMapping(org.forgerock.openam.secrets.config.SecretIdRegistry secretIdRegistry, org.forgerock.openam.secrets.config.KeyStoreSecretStore keyStore, String purposeLabel, List<String> aliases, Optional<Realm> realm, SSOToken authorizationToken)
Creates a global purpose and adds a mapping for it to the given key alias in the given keystore.static org.forgerock.openam.secrets.config.KeyStoreSecretStore
SecretsUtils. getDefaultKeyStore(AnnotatedServiceRegistry serviceRegistry)
Gets the default keystore from the global scope.
-