Service Registry Documentation

5 messages Options
Embed this post
Permalink
Andy Cowling-2

Service Registry Documentation

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi all

I've been trying to find documentaton on the web regarding how to configure the CAS Service Registry. I came across it about a year ago, but didn't need to set it up back then. Now however, I cannot find it (despite seemingly endless searching), and sadly didn't keep a record of where I found the documentation.

Has the documentation been pulled? If not, where can I find it?

Cheers
Andy

--

Andy Cowling | UK Core IT
Interactive Data Managed Solutions Ltd

-------------------------------------------------------------------------------------------------------------------------------
Suite 1101, Eagle Tower | Montpellier Drive | Cheltenham GL50 1TA | UK
Tel: +44 (0)1242 6941 15 | Fax: +44 (0)1242 6941 01
[hidden email]  
http://www.interactivedata-ms.com

This message (including any files transmitted with it) may contain confidential
and/or proprietary information, is the property of Interactive Data Corporation
and/or its subsidiaries, and is directed only to the addressee(s). If you are not
the designated recipient or have reason to believe you received this message in
error, please delete this message from your system and notify the sender
immediately. An unintended recipient's disclosure, copying, distribution, or
use of this message or any attachments is prohibited and may be unlawful.
Interactive Data (Europe) Ltd Registered No. 949387 England Registered Office:
Fitzroy House 13-17 Epworth Street. London. EC2A 4DL


smime.p7s (3K) Download Attachment
Scott Battaglia-2

Re: Service Registry Documentation

Reply Threaded More More options
Print post
Permalink
This is the entry point:
http://www.ja-sig.org/wiki/display/CASUM/Services+Management

The lower portion of the left navigation bar also has some additional, probably extremely useful, links :-)

Cheers,
Scott


On Fri, Nov 6, 2009 at 9:10 AM, Andy Cowling <[hidden email]> wrote:
Hi all

I've been trying to find documentaton on the web regarding how to configure the CAS Service Registry. I came across it about a year ago, but didn't need to set it up back then. Now however, I cannot find it (despite seemingly endless searching), and sadly didn't keep a record of where I found the documentation.

Has the documentation been pulled? If not, where can I find it?

Cheers
Andy

--

Andy Cowling | UK Core IT
Interactive Data Managed Solutions Ltd

-------------------------------------------------------------------------------------------------------------------------------
Suite 1101, Eagle Tower | Montpellier Drive | Cheltenham GL50 1TA | UK
Tel: +44 (0)1242 6941 15 | Fax: +44 (0)1242 6941 01
[hidden email]  
http://www.interactivedata-ms.com

This message (including any files transmitted with it) may contain confidential
and/or proprietary information, is the property of Interactive Data Corporation
and/or its subsidiaries, and is directed only to the addressee(s). If you are not
the designated recipient or have reason to believe you received this message in
error, please delete this message from your system and notify the sender
immediately. An unintended recipient's disclosure, copying, distribution, or
use of this message or any attachments is prohibited and may be unlawful.
Interactive Data (Europe) Ltd Registered No. 949387 England Registered Office:
Fitzroy House 13-17 Epworth Street. London. EC2A 4DL

-- 
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
Marvin Addison

Re: Service Registry Documentation

Reply Threaded More More options
Print post
Permalink
In reply to this post by Andy Cowling-2
> I've been trying to find documentaton on the web regarding how to configure
> the CAS Service Registry. I came across it about a year ago, but didn't need
> to set it up back then. Now however, I cannot find it

Me either.  I thought it would be at
http://www.ja-sig.org/wiki/display/CASUM/Services+Management, but it's
not there or on any of the subtopics that I can tell.

Following is our configuration for JPA storage in Oracle, which
hopefully will give you an idea of how to do it for your environment:

  <!--
  JDBC based service registry implementation.
  The name of this bean should remain "serviceRegistryDao".
   -->
  <bean id="serviceRegistryDao"
    class="org.jasig.cas.services.JpaServiceRegistryDaoImpl">
    <property name="entityManagerFactory" ref="entityManagerFactory" />
  </bean>

  <bean
    id="dataSource"
    class="com.mchange.v2.c3p0.ComboPooledDataSource"
    p:driverClass="oracle.jdbc.driver.OracleDriver"
    p:jdbcUrl="${database.url}"
    p:user="${database.user}"
    p:password="${database.password}"
    p:initialPoolSize="${database.pool.minSize}"
    p:minPoolSize="${database.pool.minSize}"
    p:maxPoolSize="${database.pool.maxSize}"
    p:maxIdleTimeExcessConnections="${database.pool.maxIdleTime}"
    p:checkoutTimeout="${database.pool.maxWait}"
    p:acquireIncrement="${database.pool.acquireIncrement}"
    p:acquireRetryAttempts="${database.pool.acquireRetryAttempts}"
    p:acquireRetryDelay="${database.pool.acquireRetryDelay}"
    p:idleConnectionTestPeriod="${database.pool.idleConnectionTestPeriod}"
    p:preferredTestQuery="select 1 from dual"
  />

  <bean id="entityManagerFactory"
    class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
    <property name="dataSource" ref="dataSource"/>
    <property name="jpaVendorAdapter">
      <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
        <property name="generateDdl" value="true"/>
        <property name="showSql" value="true" />
      </bean>
    </property>
    <property name="jpaProperties">
      <props>
        <prop key="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</prop>
        <prop key="hibernate.hbm2ddl.auto">update</prop>
      </props>
    </property>
  </bean>

  <bean id="transactionManager"
    class="org.springframework.orm.jpa.JpaTransactionManager">
    <property name="entityManagerFactory" ref="entityManagerFactory"/>
  </bean>

  <tx:annotation-driven transaction-manager="transactionManager"/>

I'll make a note to add this to the wiki under services management in
the future.

M

--
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
Andy Cowling-2

Re: Service Registry Documentation

Reply Threaded More More options
Print post
Permalink
In reply to this post by Scott Battaglia-2
Some javascript/style in this post has been disabled (why?)
Thanks - this is the page I had seen before - and in particular "http://www.ja-sig.org/wiki/display/CASUM/Configuring"

Thanks for the fast reply!

Cheers
Andy

Scott Battaglia wrote:
This is the entry point:
http://www.ja-sig.org/wiki/display/CASUM/Services+Management

The lower portion of the left navigation bar also has some additional, probably extremely useful, links :-)

Cheers,
Scott


On Fri, Nov 6, 2009 at 9:10 AM, Andy Cowling <[hidden email]> wrote:
Hi all

I've been trying to find documentaton on the web regarding how to configure the CAS Service Registry. I came across it about a year ago, but didn't need to set it up back then. Now however, I cannot find it (despite seemingly endless searching), and sadly didn't keep a record of where I found the documentation.

Has the documentation been pulled? If not, where can I find it?

Cheers
Andy

--

Andy Cowling | UK Core IT
Interactive Data Managed Solutions Ltd

-------------------------------------------------------------------------------------------------------------------------------
Suite 1101, Eagle Tower | Montpellier Drive | Cheltenham GL50 1TA | UK
Tel: +44 (0)1242 6941 15 | Fax: +44 (0)1242 6941 01
[hidden email]  
http://www.interactivedata-ms.com

This message (including any files transmitted with it) may contain confidential
and/or proprietary information, is the property of Interactive Data Corporation
and/or its subsidiaries, and is directed only to the addressee(s). If you are not
the designated recipient or have reason to believe you received this message in
error, please delete this message from your system and notify the sender
immediately. An unintended recipient's disclosure, copying, distribution, or
use of this message or any attachments is prohibited and may be unlawful.
Interactive Data (Europe) Ltd Registered No. 949387 England Registered Office:
Fitzroy House 13-17 Epworth Street. London. EC2A 4DL

-- 
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user


--

Andy Cowling | UK Core IT
Interactive Data Managed Solutions Ltd

-------------------------------------------------------------------------------------------------------------------------------
Suite 1101, Eagle Tower | Montpellier Drive | Cheltenham GL50 1TA | UK
Tel: +44 (0)1242 6941 15 | Fax: +44 (0)1242 6941 01
[hidden email]  
http://www.interactivedata-ms.com

This message (including any files transmitted with it) may contain confidential
and/or proprietary information, is the property of Interactive Data Corporation
and/or its subsidiaries, and is directed only to the addressee(s). If you are not
the designated recipient or have reason to believe you received this message in
error, please delete this message from your system and notify the sender
immediately. An unintended recipient's disclosure, copying, distribution, or
use of this message or any attachments is prohibited and may be unlawful.
Interactive Data (Europe) Ltd Registered No. 949387 England Registered Office:
Fitzroy House 13-17 Epworth Street. London. EC2A 4DL


smime.p7s (3K) Download Attachment
Andy Cowling-2

Re: Service Registry Documentation

Reply Threaded More More options
Print post
Permalink
In reply to this post by Marvin Addison
Some javascript/style in this post has been disabled (why?)
Marvin

Thanks for the working example. I'm sure it will come ni handy :-)

Cheers
Andy

Marvin Addison wrote:
I've been trying to find documentaton on the web regarding how to configure
the CAS Service Registry. I came across it about a year ago, but didn't need
to set it up back then. Now however, I cannot find it
    

Me either.  I thought it would be at
http://www.ja-sig.org/wiki/display/CASUM/Services+Management, but it's
not there or on any of the subtopics that I can tell.

Following is our configuration for JPA storage in Oracle, which
hopefully will give you an idea of how to do it for your environment:

  <!--
  JDBC based service registry implementation.
  The name of this bean should remain "serviceRegistryDao".
   -->
  <bean id="serviceRegistryDao"
    class="org.jasig.cas.services.JpaServiceRegistryDaoImpl">
    <property name="entityManagerFactory" ref="entityManagerFactory" />
  </bean>

  <bean
    id="dataSource"
    class="com.mchange.v2.c3p0.ComboPooledDataSource"
    p:driverClass="oracle.jdbc.driver.OracleDriver"
    p:jdbcUrl="${database.url}"
    p:user="${database.user}"
    p:password="${database.password}"
    p:initialPoolSize="${database.pool.minSize}"
    p:minPoolSize="${database.pool.minSize}"
    p:maxPoolSize="${database.pool.maxSize}"
    p:maxIdleTimeExcessConnections="${database.pool.maxIdleTime}"
    p:checkoutTimeout="${database.pool.maxWait}"
    p:acquireIncrement="${database.pool.acquireIncrement}"
    p:acquireRetryAttempts="${database.pool.acquireRetryAttempts}"
    p:acquireRetryDelay="${database.pool.acquireRetryDelay}"
    p:idleConnectionTestPeriod="${database.pool.idleConnectionTestPeriod}"
    p:preferredTestQuery="select 1 from dual"
  />

  <bean id="entityManagerFactory"
    class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
    <property name="dataSource" ref="dataSource"/>
    <property name="jpaVendorAdapter">
      <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
        <property name="generateDdl" value="true"/>
        <property name="showSql" value="true" />
      </bean>
    </property>
    <property name="jpaProperties">
      <props>
        <prop key="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</prop>
        <prop key="hibernate.hbm2ddl.auto">update</prop>
      </props>
    </property>
  </bean>

  <bean id="transactionManager"
    class="org.springframework.orm.jpa.JpaTransactionManager">
    <property name="entityManagerFactory" ref="entityManagerFactory"/>
  </bean>

  <tx:annotation-driven transaction-manager="transactionManager"/>

I'll make a note to add this to the wiki under services management in
the future.

M

  


--

Andy Cowling | UK Core IT
Interactive Data Managed Solutions Ltd

-------------------------------------------------------------------------------------------------------------------------------
Suite 1101, Eagle Tower | Montpellier Drive | Cheltenham GL50 1TA | UK
Tel: +44 (0)1242 6941 15 | Fax: +44 (0)1242 6941 01
[hidden email]  
http://www.interactivedata-ms.com

This message (including any files transmitted with it) may contain confidential
and/or proprietary information, is the property of Interactive Data Corporation
and/or its subsidiaries, and is directed only to the addressee(s). If you are not
the designated recipient or have reason to believe you received this message in
error, please delete this message from your system and notify the sender
immediately. An unintended recipient's disclosure, copying, distribution, or
use of this message or any attachments is prohibited and may be unlawful.
Interactive Data (Europe) Ltd Registered No. 949387 England Registered Office:
Fitzroy House 13-17 Epworth Street. London. EC2A 4DL


smime.p7s (3K) Download Attachment