public class PluginSchema extends Object
PluginSchemaImpl
provides the interfaces to obtain
the schema information of a plugin that is configured for a service.Modifier and Type | Field and Description |
---|---|
protected String |
pluginName |
protected com.sun.identity.sm.PluginSchemaImpl |
psi |
protected String |
serviceName |
protected SSOToken |
token |
protected String |
version |
Modifier | Constructor and Description |
---|---|
protected |
PluginSchema(SSOToken token,
String serviceName,
String version,
String pluginName,
String iName,
String orgName) |
Modifier and Type | Method and Description |
---|---|
AttributeSchema |
getAttributeSchema(String attributeSchemaName)
Returns the schema for an attribute given the name of the attribute,
defined for this plugin.
|
Set |
getAttributeSchemaNames()
Returns the names of the schema attribute defined for the plugin.
|
String |
getClassName()
Returns the java class name that implements the interface
|
protected Document |
getDocumentCopy() |
String |
getI18NFileName()
Returns the i18n properties file name
|
String |
getI18NJarURL()
Returns the URL for the plugin's resource bundle
|
String |
getI18NKey()
Returns the i18n key to resource bundle that describes the plugin
|
String |
getInterfaceName()
Returns the interface name implemented by the plugin
|
String |
getJarURL()
Returns the URL of the jar file, the contains the complete implementation
for the plugin.
|
String |
getName()
Returns the name of the plugin schema
|
protected Node |
getPluginSchemaNode(Document doc) |
String |
getPropertiesViewBeanURL()
Returns URL of the view bean for the service
|
protected void |
replacePluginSchema(Document document) |
void |
setPropertiesViewBeanURL(String url)
Sets the URL of the view bean for the plugin.
|
String |
toString()
Returns the
String represenation of the Plugin schema. |
String |
toXML() |
protected void |
validate() |
protected void |
validatePluginSchema() |
protected com.sun.identity.sm.PluginSchemaImpl psi
protected SSOToken token
protected String serviceName
protected String version
protected String pluginName
protected PluginSchema(SSOToken token, String serviceName, String version, String pluginName, String iName, String orgName) throws SMSException
SMSException
public String getName()
public String getInterfaceName()
public String getClassName()
public String getJarURL()
public String getI18NJarURL()
public String getI18NFileName()
public String getPropertiesViewBeanURL()
public void setPropertiesViewBeanURL(String url) throws SMSException, SSOException
url
- of the view bean for the plugin.SMSException
- if an error occurred while trying to perform the operation.SSOException
- if the single sign on token is invalid or expired.public String getI18NKey()
public Set getAttributeSchemaNames()
public AttributeSchema getAttributeSchema(String attributeSchemaName)
attributeSchemaName
- name of the schema attributepublic String toString()
String
represenation of the Plugin schema.protected void validate()
protected void validatePluginSchema() throws SMSException
SMSException
protected Document getDocumentCopy() throws SMSException
SMSException
protected Node getPluginSchemaNode(Document doc) throws SMSException
SMSException
protected void replacePluginSchema(Document document) throws SSOException, SMSException
SSOException
SMSException
public String toXML() throws SMSException
SMSException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.