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 SSOProvider
|
com.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.security |
Provides the classes to be used for performing privileged operations (like
getting the OpenAM administrator's DN and password).
|
com.sun.identity.sm |
Provides classes for accessing the Service Management Service (SMS).
|
org.forgerock.openam.secrets |
The AM supporting classes for centrally configuring secrets.
|
Modifier and Type | Class and Description |
---|---|
class |
SSOTokenListenersUnsupportedException
This
SSOTokenCannotBeObservedException is thrown when calling
SSOToken.addSSOTokenListener(SSOTokenListener) on an SSOToken
type that does not generate lifecycle events. |
Modifier and Type | Method and Description |
---|---|
void |
SSOToken.addSSOTokenListener(SSOTokenListener listener)
Adds an SSO token listener for the token change events.
|
SSOToken |
SSOTokenManager.createSSOToken(javax.servlet.http.HttpServletRequest request)
Creates a single sign on token from
HttpServletRequest |
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.
|
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 of
SSOTokenManager . |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
SSOProviderImpl.destroyToken(SSOToken destroyer,
SSOToken destroyed)
Destroys a single sign on token.
|
Set<SSOToken> |
SSOProviderImpl.getValidSessions(SSOToken requester,
String server)
Deprecated.
since 14.0.0
|
Modifier and Type | Method and Description |
---|---|
abstract int |
IdRepo.addListener(SSOToken token,
IdRepoListener listener)
Adds a listener for changes in the repository
|
void |
AMIdentity.addMember(AMIdentity identity) |
void |
AMIdentity.addMembers(Set<AMIdentity> identities) |
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.assignService(String serviceName,
Map attributes)
Assigns the service and service related attributes to the identity.
|
void |
IdRepo.changePassword(SSOToken token,
IdType type,
String name,
String attrName,
String oldPassword,
String newPassword)
Changes password of identity.
|
void |
AMIdentity.changePassword(String oldPassword,
String newPassword)
Changes password for the identity.
|
abstract String |
IdRepo.create(SSOToken token,
IdType type,
String name,
Map<String,Set<String>> attrMap)
Creates an identity.
|
Set |
AMIdentityRepository.createIdentities(IdType type,
Map identityNamesAndAttrs) |
AMIdentity |
AMIdentityRepository.createIdentity(IdType type,
String idName,
Map attrMap) |
abstract void |
IdRepo.delete(SSOToken token,
IdType type,
String name)
Deletes an identity.
|
void |
AMIdentityRepository.deleteIdentities(IdType type,
Set identities)
Deprecated.
As of release AM 7.1, replaced by
AMIdentityRepository.deleteIdentities(Set) |
void |
AMIdentityRepository.deleteIdentities(Set identities) |
Set |
AMIdentityRepository.getAllowedIdOperations(IdType type) |
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 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 object
|
abstract 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.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.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() |
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<String,Set<String>> |
AMIdentity.getServiceAttributes(String serviceName)
Returns attributes related to a service, if the service is assigned to
the identity.
|
Map |
AMIdentity.getServiceAttributesAscending(String serviceName)
Returns attributes related to a service, if the service is assigned
to the identity.
|
Set |
AMIdentityRepository.getSupportedIdTypes() |
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 the
name 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 the
name object exists in the data store. |
boolean |
AMIdentity.isMember(AMIdentity identity)
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.
|
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.modifyService(String serviceName,
Map attrMap)
Set attributes related to a specific service.
|
void |
AMIdentity.removeAttributes(Set 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) |
void |
AMIdentity.removeMembers(Set<AMIdentity> identities) |
void |
AMIdentity.removeServiceAttributes(String serviceName,
Set attrNames)
Removes attributes value related to a specific service by
setting it to empty.
|
abstract RepoSearchResults |
IdRepo.search(SSOToken token,
IdType type,
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) |
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 to
active . |
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.
|
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.
|
void |
AMIdentity.unassignService(String serviceName)
Removes a service from the identity.
|
Constructor and Description |
---|
AMIdentity(SSOToken ssotoken) |
AMIdentityRepository(SSOToken ssotoken,
String realmName)
Deprecated.
in 13.0.0, use
AMIdentityRepository.AMIdentityRepository(String, com.iplanet.sso.SSOToken) instead |
Modifier and Type | Method and 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 a
Set 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 of
ProxyPolicyEvaluator . |
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 valid
ResponseProvider type names
defined in the PolicyConfig service. |
Set |
ConditionTypeManager.getSelectedConditionTypeNames()
Deprecated.
Returns a
Set 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 valid
ResponseProvider 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 realm
|
Set |
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 name
|
void |
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.
|
Constructor and Description |
---|
PolicyEvaluator(String serviceTypeName)
Deprecated.
Constructor to create a
PolicyEvaluator given the
ServiceType name. |
PolicyManager(SSOToken token)
Deprecated.
Constructor for
PolicyManager for the
top (or root) organization. |
PolicyManager(SSOToken token,
String name)
Deprecated.
Constructor for
PolicyManager for the
specified organization, sub organization or a container object. |
ReferralTypeManager()
Deprecated.
Creates a
ReferralTypeManager object |
SubjectTypeManager()
Deprecated.
Constructs a
SubjectTypeManager object |
Modifier and Type | Method and Description |
---|---|
ConditionDecision |
Condition.getConditionDecision(SSOToken token,
Map<String,Set<String>> env)
Deprecated.
Gets the decision computed by this condition object, based on the
Map of environment parameters |
PolicyDecision |
Referral.getPolicyDecision(SSOToken token,
String resourceType,
String resourceName,
Set actionNames,
Map envParameters)
Deprecated.
Gets policy results
|
Set |
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 the
SSOToken and Map of
environment parameters. |
ValidValues |
Subject.getValidValues(SSOToken token)
Deprecated.
Returns a list of possible values for the
Subject
. |
ValidValues |
Referral.getValidValues(SSOToken token)
Deprecated.
Gets the valid values for this referral
|
ValidValues |
Subject.getValidValues(SSOToken token,
String pattern)
Deprecated.
Returns a list of possible values for the
Subject
that satisfy the given pattern . |
ValidValues |
Referral.getValidValues(SSOToken token,
String pattern)
Deprecated.
Gets the valid values for this referral
matching a pattern
|
Syntax |
Subject.getValueSyntax(SSOToken token)
Deprecated.
Returns the syntax of the values the
Subject implementation can have. |
Syntax |
Referral.getValueSyntax(SSOToken token)
Deprecated.
Gets the syntax for the value
|
boolean |
Subject.isMember(SSOToken token)
Deprecated.
Determines if the user belongs to this instance
of the
Subject object. |
Modifier and Type | Method and Description |
---|---|
protected void |
AdminTokenAction.init() |
Constructor and Description |
---|
AdminTokenAction()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceInstance.addAttribute(String attrName,
Set values)
Adds the given attribute name and values to the attribute set.
|
void |
ServiceConfig.addAttribute(String attrName,
Set values)
Adds a configuration parameter to the service configuration.
|
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 configurations
|
void |
AttributeSchema.addDefaultValue(String value)
Adds a default value to the existing set of default values.
|
void |
ServiceConfig.addExportedOrganizationNames(Set 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,
Map<String,Set<String>> attrs)
Adds a service sub-configuration with configuration parameters.
|
void |
ServiceConfig.addSubConfig(String subConfigName,
String subConfigId,
int priority,
Map<String,Set<String>> attrs,
boolean isNewRealm)
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 |
ServiceConfig.checkAndCreateGroup(String dn,
String groupName,
DataStoreId dataStoreId) |
ServiceConfig |
ServiceConfigManager.createGlobalConfig(Map attrs)
Creates global configuration for the default instance of the service given the configuration attributes.
|
ServiceConfig |
ServiceConfigManager.createOrganizationConfig(String orgName,
Map attrs,
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 the
ServiceConfigManager 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,
DataStoreId dataStoreId)
Returns the global configuration for the given service instance.
|
ServiceInstance |
ServiceConfigManager.getInstance(String instanceName)
Returns the service instance given the instance name
|
String |
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 entry
|
ServiceConfig |
ServiceConfigManager.getOrganizationConfig(String orgName,
String instanceName)
Returns the organization configuration for the given organization and instance name.
|
ServiceConfig |
ServiceConfigManager.getOrganizationConfig(String orgName,
String instanceName,
DataStoreId dataStoreId)
Returns the organization configuration for the given organization and instance name.
|
ServiceSchemaManager |
ServiceManager.getSchemaManager(String serviceName,
String version)
Returns the
ServiceSchemaManager 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 |
ServiceManager.registerServices(InputStream xmlServiceSchema)
Registers one or more services, defined by the XML
input stream that follows the SMS DTD.
|
void |
ServiceInstance.removeAttribute(String attrName)
Removes the specified attribute name and its values from the attribute
set.
|
void |
ServiceConfig.removeAttribute(String attrName)
Removes a configuration parameter from the service configuration.
|
void |
ServiceSchema.removeAttributeDefaults(Set attrs)
Removes the default values of attributes in the schema.
|
void |
ServiceConfig.removeAttributes(Set attrNames)
Removes a configuration parameters from the service configuration.
|
void |
ServiceSchema.removeAttributeSchema(String attrName)
Removes the attribute schema from this service.
|
void |
ServiceInstance.removeAttributeValues(String attrName,
Set values)
Removes the specified attribute's values.
|
void |
ServiceConfig.removeAttributeValues(String attrName,
Set values)
Removes the specific values for the given configuration parameter.
|
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 service
|
void |
ServiceConfigManager.removeOrganizationConfiguration(String orgName,
String groupName)
Deprecated.
since 6.5.5, use the
removeOrganizationConfiguration method |
void |
ServiceConfigManager.removeOrganizationConfiguration(String orgName,
String groupName,
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 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 |
ServiceInstance.replaceAttributeValue(String attrName,
String oldValue,
String newValue)
Replaces the attribute's old value with the new value.
|
void |
ServiceConfig.replaceAttributeValue(String attrName,
String oldValue,
String newValue)
Replaces old value of the configuration parameter with new value.
|
void |
ServiceInstance.replaceAttributeValues(String attrName,
Set oldValues,
Set newValues)
Replaces the attribute's old values with the new values
|
void |
ServiceConfig.replaceAttributeValues(String attrName,
Set oldValues,
Set newValues)
Replaces the old values of the configuration parameter with the new values.
|
void |
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 |
AttributeSchema.setAny(String a)
Sets the any attribute.
|
void |
ServiceSchema.setAttributeDefaults(Map attrs)
Method to change the default values of attributes in the schema.
|
void |
ServiceSchema.setAttributeDefaults(String attrName,
Set values)
Method to change default value for a specific attribute.
|
void |
ServiceInstance.setAttributes(Map attrs)
Sets the attributes that are specific to the service instance.
|
void |
ServiceConfig.setAttributes(Map attrs)
Sets the service configuration parameters.
|
void |
AttributeSchema.setBooleanValues(String trueValue,
String trueValueI18nKey,
String falseValue,
String falseValueI18nKey)
Sets the boolean values of the attribute.
|
void |
AttributeSchema.setCosQualifier(String cosq)
Sets the
cosQualifier attribute |
void |
AttributeSchema.setDefaultValues(Set values)
Sets the default values of the attribute.
|
void |
AttributeSchema.setEndRange(String edRange)
Sets the end range Attribute.
|
void |
ServiceConfig.setExportedOrganizationNames(Set names)
Sets the organization names that can import the service configuration.
|
void |
ServiceInstance.setGroup(String groupName)
Sets the group name for this instance.
|
void |
ServiceSchemaManager.setI18NFileName(String url)
Sets the I18N properties file name for the service
|
void |
ServiceSchema.setI18NFileName(String url)
Sets the I18N properties file name for the service schema
|
void |
ServiceSchemaManager.setI18NJarURL(String url)
Sets the URL of the JAR file that contains the I18N properties
|
void |
ServiceSchema.setI18Nkey(String key)
Sets the value of the I18N key in the service schema.
|
void |
ServiceSchemaManager.setI18NKey(String i18nKey)
Sets the i18nKey of the schema.
|
void |
AttributeSchema.setI18NKey(String i18nKey)
Sets the I18N key to describe the configuration attribute.
|
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 |
ServiceSchemaManager.setResourceName(String name)
Sets the service's resource name for CREST representation.
|
void |
ServiceSchema.setResourceName(String name)
Sets the CREST resource name for the service schema.
|
void |
AttributeSchema.setResourceName(String name)
Sets the CREST representation name for the attribute.
|
void |
AttributeSchema.setSearchable(String value)
Sets the attribute isSearchable, if value is set to
true
,
or false . |
void |
ServiceSchemaManager.setServiceHierarchy(String newhierarchy)
Sets the service's hierarchy
|
void |
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 the
UIType attribute. |
void |
ServiceInstance.setURI(String uri)
Sets the URI for the service instance.
|
void |
AttributeSchema.setValidator(String valid)
Sets the Validator attribute
|
String |
ServiceConfig.toXML(String NodeTag,
AMEncryption encryptObj) |
String |
ServiceConfig.toXML(String NodeTag,
AMEncryption encryptObj,
String orgName) |
protected void |
AttributeSchema.updateBooleanValues(String trueValue,
String trueValueI18nKey,
String falseValue,
String falseValueI18nKey,
Document doc) |
protected void |
AttributeSchema.updateChoiceValues(Map choiceValues) |
protected void |
AttributeSchema.updateChoiceValues(Map choiceValues,
Document doc) |
protected void |
AttributeSchema.updateDefaultValues(Set defaultValues)
Method for modifying default values
|
protected void |
AttributeSchema.updateDefaultValues(Set defaultValues,
Document doc)
Method for modifying default values given the XML document
|
protected void |
AttributeSchema.updateXMLDocument(StringBuffer sb,
String elementName,
Document updateDoc) |
protected void |
AttributeSchema.updateXMLDocument(String attrName,
String attrValue)
update attribute value in attribute schema element
|
Constructor and Description |
---|
ServiceConfigManager(SSOToken token,
String serviceName,
String version)
Creates an instance of
ServiceConfigManager for the given service and version. |
ServiceManager(SSOToken token)
Creates an instance of
ServiceManager . |
Modifier and Type | Method and Description |
---|---|
static void |
SecretsUtils.createKeyStorePurposeMapping(SecretIdRegistry secretIdRegistry,
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 KeyStoreSecretStore |
SecretsUtils.getDefaultKeyStore(AnnotatedServiceRegistry serviceRegistry)
Gets the default keystore from the global scope.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.