Done.  https://issues.jasig.org/browse/CAS-1427


Regards
Sashika.


On Mon, Feb 10, 2014 at 8:12 PM, Jérôme LELEU <[email protected]> wrote:

> Hi,
>
> Indeed, the management webapp is not able to define OAuth services. This
> would be a good improvement. Would you mind opening a JIRA for that for 4.x?
> Thanks.
> Best regards,
> Jérôme
>
>
>
>
> 2014-02-07 4:39 GMT+01:00 Sashika <[email protected]>:
>
> Hi,
>>
>> Well, I just need to dynamically define OAuth services at run time. To do
>> this I assumed using the JpaServiceRegistryDaoImpl instead of 
>> InMemoryServiceRegistryDaoImpl
>> is the easiest way. This is my need and may be you have misunderstood my
>> query. Anyway If you go to the service management and try to add a service
>> It only asks for a name, service url and Description. But to add an Oauth
>> service, we have to specify clientId and clientSecret also. If I define
>> this in the xml file it looks like below
>>
>> <bean class="org.jasig.cas.support.oauth.services.OAuthRegisteredService">
>>         <property name="id" value="1" />
>>         <property name="name" value="application" />
>>         <property name="description" value="The greatest application
>> ever!" />
>>         <property name="clientId" value="this_is_the_key" />
>>         <property name="clientSecret" value="this_is_the_secret" />
>>         <property name="serviceId" value="
>> https://192.168.3.3:8181/mavenproject1/OAuth"; />
>>       </bean>
>>
>>
>> But When I try to add this service through service management we cant
>> define certain attributes. Is there a way at least we can dynamically load
>> InMemoryServiceRegistryDaoImpl?
>>
>>
>> Thanks
>>
>>
>>
>>
>> On Thu, Feb 6, 2014 at 11:58 PM, Jérôme LELEU <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I'm not sure to see exactly the problem as the *JpaServiceRegistryDaoImpl
>>> *is mostly referencing *RegisteredService *or *AbstractRegisteredService
>>> *classes.
>>>
>>> Maybe an *Entity *annotation is missing on the *OAuthRegisteredService *
>>> class?
>>>
>>> Best regards,
>>> Jérôme
>>>
>>>
>>>
>>> 2014-02-06 4:31 GMT+01:00 Sashika <[email protected]>:
>>>
>>>>  Hi,
>>>>
>>>> My CAS server is configured as an OAuth server and I would like to
>>>> replace the InMemoryServiceRegistryDaoImpl with JpaServiceRegistryDaoImpl.
>>>> But for OAuth services we need to specify "clientId", "clientSecret" etc.
>>>> But the service management add new service user interface does not support
>>>> this.How do we specify these?
>>>>
>>>> Regards
>>>> Sashika.
>>>>
>>>> --
>>>> You are currently subscribed to [email protected] as: 
>>>> [email protected]
>>>> To unsubscribe, change settings or access archives, see 
>>>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>>>
>>>>
>>> --
>>> You are currently subscribed to [email protected] as: 
>>> [email protected]
>>> To unsubscribe, change settings or access archives, see 
>>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>>
>>>
>> --
>> You are currently subscribed to [email protected] as: [email protected]
>> To unsubscribe, change settings or access archives, see 
>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>
>>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>

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

Reply via email to