<ISConfiguration xmlns="http://www.oracle.com/pcbpel/identityservice/isconfig"> <configurations> <configuration realmName="jazn.com"> <provider providerType="JAZN" name="XML" service="Identity"> <property name="usersPropertiesFile" value="users-properties.xml"/> </provider> </configuration> </configurations> </ISConfiguration>
注意:如果providerType为JAZN,则需要声明realmName属性,并且其值必须为jazn.xml作包含的ream名称。jazn.xml在 %SOA_Oracle_Home%j2eeoc4j_soaconfig 目录下,参考jazn.xml和system-jazn-data.xml文件。 当然,你可以使用custom repository方式,如下例子。其中客户自己实现的Identity Service类,必须实现oracle.tip.pc.services.identity.BPMIdentityService这个接口类。
<?xml version = "1.0" encoding = "UTF-8"?> <ISConfiguration xmlns="http://www.oracle.com/pcbpel/identityservice/isconfig"> <configurations> <configuration realmName="jazn.com"> <provider providerType="JAZN" name="xml" service="Identity"> <property name="userPropertiesFile" value="users-properties.xml"/> </provider> <provider providerType="CUSTOM" name="CustomPlugIn" service="Authentication" class="package.name.CustomAuthenticationService" /> </configuration> </configurations> </ISConfiguration>
其中,针对provider中的service类型,主要有三种:Identity、Authentication、Authorization,默认是Identity。 采用XML-Based JAZN Provider 参考: http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/service_config.htm#BABDGHAG 使用Oracle Internet Direcatory 参考: http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/service_config.htm#BABDAGFH 使用第三方LDAP Server 参考: http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/service_config.htm#BABHBEGH 使用客户自定义的存储实现 其实,最主要是对oracle.tip.pc.services.identity.BPMIdentityService这个接口的实现。这个内容改天再详细叙述。
定义group的owner 参考: http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/service_config.htm#BABBHBBB