JETSPEED-INF.ojb.sso_repository.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jetspeed-sso Show documentation
Show all versions of jetspeed-sso Show documentation
Jetspeed-2 Single Sign On SSO Components
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <descriptor-repository version="1.0"> <!-- - S E C U R I T Y P R I N C I P A L (Short version for SSO lookup) --> <class-descriptor class="org.apache.jetspeed.sso.impl.SSOPrincipalImpl" proxy="dynamic" table="SECURITY_PRINCIPAL" > <documentation>Represents a user principal.</documentation> <field-descriptor name="principalId" column="principal_id" jdbc-type="BIGINT" primarykey="true" indexed="true" autoincrement="true" > </field-descriptor> <field-descriptor name="classname" column="classname" jdbc-type="VARCHAR" nullable="false" length="254" > </field-descriptor> <field-descriptor name="isMappingOnly" column="is_mapping_only" jdbc-type="INTEGER" conversion="org.apache.ojb.broker.accesslayer.conversions.Boolean2IntFieldConversion" nullable="false" > </field-descriptor> <field-descriptor name="fullPath" column="full_path" jdbc-type="VARCHAR" nullable="false" length="254" > </field-descriptor> <field-descriptor name="creationDate" column="creation_date" jdbc-type="TIMESTAMP" nullable="false" > </field-descriptor> <field-descriptor name="modifiedDate" column="modified_date" jdbc-type="TIMESTAMP" nullable="false" > </field-descriptor> <field-descriptor name="enabled" column="is_enabled" jdbc-type="INTEGER" conversion="org.apache.ojb.broker.accesslayer.conversions.Boolean2IntFieldConversion" nullable="false" > </field-descriptor> <collection-descriptor name="remotePrincipals" element-class-ref="org.apache.jetspeed.security.om.impl.InternalUserPrincipalImpl" proxy="true" refresh="true" auto-retrieve="true" auto-update="object" auto-delete="object" indirection-table="SSO_PRINCIPAL_TO_REMOTE" > <documentation>This is the reference to principals.</documentation> <fk-pointing-to-this-class column="PRINCIPAL_ID"/> <fk-pointing-to-element-class column="REMOTE_PRINCIPAL_ID"/> </collection-descriptor> </class-descriptor> <!-- - S I T E --> <class-descriptor class="org.apache.jetspeed.sso.impl.SSOSiteImpl" proxy="dynamic" table="SSO_SITE" > <documentation>Represents the single sign on site</documentation> <field-descriptor name="siteId" column="SITE_ID" jdbc-type="INTEGER" primarykey="true" indexed="true" autoincrement="true" > </field-descriptor> <field-descriptor name="name" column="NAME" jdbc-type="VARCHAR" nullable="false" length="254" > </field-descriptor> <field-descriptor name="siteURL" column="URL" jdbc-type="VARCHAR" nullable="false" length="254" > </field-descriptor> <field-descriptor name="isAllowUserSet" column="ALLOW_USER_SET" jdbc-type="INTEGER" conversion="org.apache.ojb.broker.accesslayer.conversions.Boolean2IntFieldConversion" nullable="false" > </field-descriptor> <field-descriptor name="isCertificateRequired" column="REQUIRES_CERTIFICATE" jdbc-type="INTEGER" conversion="org.apache.ojb.broker.accesslayer.conversions.Boolean2IntFieldConversion" nullable="false" > </field-descriptor> <field-descriptor name="isChallengeResponseAuthentication" column="CHALLENGE_RESPONSE_AUTH" jdbc-type="INTEGER" conversion="org.apache.ojb.broker.accesslayer.conversions.Boolean2IntFieldConversion" nullable="false" > </field-descriptor> <field-descriptor name="isFormAuthentication" column="FORM_AUTH" jdbc-type="INTEGER" conversion="org.apache.ojb.broker.accesslayer.conversions.Boolean2IntFieldConversion" nullable="false" > </field-descriptor> <field-descriptor name="formUserField" column="FORM_USER_FIELD" jdbc-type="VARCHAR" nullable="false" length="128" > </field-descriptor> <field-descriptor name="formPwdField" column="FORM_PWD_FIELD" jdbc-type="VARCHAR" nullable="false" length="128" > </field-descriptor> <field-descriptor name="realm" column="REALM" jdbc-type="VARCHAR" nullable="false" length="128" > </field-descriptor> <collection-descriptor name="principals" element-class-ref="org.apache.jetspeed.sso.impl.SSOPrincipalImpl" proxy="true" refresh="true" auto-retrieve="true" auto-update="object" auto-delete="object" indirection-table="SSO_SITE_TO_PRINCIPALS" > <documentation>This is the reference to principals.</documentation> <fk-pointing-to-this-class column="SITE_ID"/> <fk-pointing-to-element-class column="PRINCIPAL_ID"/> </collection-descriptor> <collection-descriptor name="remotePrincipals" element-class-ref="org.apache.jetspeed.security.om.impl.InternalUserPrincipalImpl" proxy="true" refresh="true" auto-retrieve="true" auto-update="object" auto-delete="object" indirection-table="SSO_SITE_TO_REMOTE" > <documentation>This is the reference to principals.</documentation> <fk-pointing-to-this-class column="SITE_ID"/> <fk-pointing-to-element-class column="PRINCIPAL_ID"/> </collection-descriptor> </class-descriptor> <!-- SSO Cookie --> <class-descriptor class="org.apache.jetspeed.sso.impl.SSOCookieImpl" proxy="dynamic" table="SSO_COOKIE" > <documentation>Represents the single sign on cookie</documentation> <field-descriptor name="cookieId" column="COOKIE_ID" jdbc-type="INTEGER" primarykey="true" indexed="true" autoincrement="true" > </field-descriptor> <field-descriptor name="cookie" column="COOKIE" jdbc-type="VARCHAR" nullable="false" length="1024" > </field-descriptor> <field-descriptor name="createDate" column="CREATE_DATE" jdbc-type="TIMESTAMP" nullable="false" > </field-descriptor> <collection-descriptor name="remotePrincipals" element-class-ref="org.apache.jetspeed.security.om.impl.InternalUserPrincipalImpl" proxy="true" refresh="true" auto-retrieve="true" auto-update="object" auto-delete="object" indirection-table="SSO_COOKIE_TO_REMOTE" > <documentation>This is the reference to principals for a cookie.</documentation> <fk-pointing-to-this-class column="COOKIE_ID"/> <fk-pointing-to-element-class column="REMOTE_PRINCIPAL_ID"/> </collection-descriptor> </class-descriptor> </descriptor-repository>