You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by vramanaj <vr...@gmail.com> on 2010/01/04 12:12:31 UTC
Re: Multiple UserDatabases
http://old.nabble.com/file/p27011540/server.xml server.xml
http://old.nabble.com/file/p27011540/app-context.xml.txt app-context.xml.txt
--
View this message in context: http://old.nabble.com/Multiple-UserDatabases-tp26977405p27011540.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Multiple UserDatabases
Posted by vramanaj <vr...@gmail.com>.
Issue still not resolved. Is there any way to club both the Data Sources(one
is tomcat.xml & another josso data source) ?
markt-2 wrote:
>
> On 04/01/2010 11:39, vramanaj wrote:
>>
>> Can you elobrate the second option ?
>
> http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
>
>>
>>
>> markt-2 wrote:
>>>
>>> On 04/01/2010 11:14, vramanaj wrote:
>>>>> http://old.nabble.com/file/p27011540/server.xml server.xml
>>>>> http://old.nabble.com/file/p27011540/app-context.xml.txt
>>>>> app-context.xml.txt
>>>>>
>>>>
>>>> And the content in context file using josso as below
>>>> <Context>
>>>> <ResourceLink global="jdbc/SsoDs" name="jdbc/SsoDS"
>>>> type="javax.sql.DataSource"/>
>>>> </Context>
>>>
>>> From a Tomcat perspective everything looks OK.
>>>
>>> I think the issue is that the JOSSO valve is going to apply to the
>>> context you want to use the UserDatabaseRealm for as well.
>>>
>>> I don't know JOSSO but I think you have two options:
>>> - Move the users & roles defined in tomcat-users.xml to JOSSO and use
>>> JOSSO for everything.
>>> - Use a separate virtual host for apps that shouldn't use JSSO
>>>
>>> Mark
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>>
>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
--
View this message in context: http://old.nabble.com/Multiple-UserDatabases-tp26977405p27623330.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Multiple UserDatabases
Posted by Mark Thomas <ma...@apache.org>.
On 04/01/2010 11:39, vramanaj wrote:
>
> Can you elobrate the second option ?
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
>
>
> markt-2 wrote:
>>
>> On 04/01/2010 11:14, vramanaj wrote:
>>>> http://old.nabble.com/file/p27011540/server.xml server.xml
>>>> http://old.nabble.com/file/p27011540/app-context.xml.txt
>>>> app-context.xml.txt
>>>>
>>>
>>> And the content in context file using josso as below
>>> <Context>
>>> <ResourceLink global="jdbc/SsoDs" name="jdbc/SsoDS"
>>> type="javax.sql.DataSource"/>
>>> </Context>
>>
>> From a Tomcat perspective everything looks OK.
>>
>> I think the issue is that the JOSSO valve is going to apply to the
>> context you want to use the UserDatabaseRealm for as well.
>>
>> I don't know JOSSO but I think you have two options:
>> - Move the users & roles defined in tomcat-users.xml to JOSSO and use
>> JOSSO for everything.
>> - Use a separate virtual host for apps that shouldn't use JSSO
>>
>> Mark
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Multiple UserDatabases
Posted by vramanaj <vr...@gmail.com>.
Can you elobrate the second option ?
markt-2 wrote:
>
> On 04/01/2010 11:14, vramanaj wrote:
>>> http://old.nabble.com/file/p27011540/server.xml server.xml
>>> http://old.nabble.com/file/p27011540/app-context.xml.txt
>>> app-context.xml.txt
>>>
>>
>> And the content in context file using josso as below
>> <Context>
>> <ResourceLink global="jdbc/SsoDs" name="jdbc/SsoDS"
>> type="javax.sql.DataSource"/>
>> </Context>
>
> From a Tomcat perspective everything looks OK.
>
> I think the issue is that the JOSSO valve is going to apply to the
> context you want to use the UserDatabaseRealm for as well.
>
> I don't know JOSSO but I think you have two options:
> - Move the users & roles defined in tomcat-users.xml to JOSSO and use
> JOSSO for everything.
> - Use a separate virtual host for apps that shouldn't use JSSO
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
--
View this message in context: http://old.nabble.com/Multiple-UserDatabases-tp26977405p27011807.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Multiple UserDatabases
Posted by Mark Thomas <ma...@apache.org>.
On 04/01/2010 11:14, vramanaj wrote:
>> http://old.nabble.com/file/p27011540/server.xml server.xml
>> http://old.nabble.com/file/p27011540/app-context.xml.txt
>> app-context.xml.txt
>>
>
> And the content in context file using josso as below
> <Context>
> <ResourceLink global="jdbc/SsoDs" name="jdbc/SsoDS"
> type="javax.sql.DataSource"/>
> </Context>
>From a Tomcat perspective everything looks OK.
I think the issue is that the JOSSO valve is going to apply to the
context you want to use the UserDatabaseRealm for as well.
I don't know JOSSO but I think you have two options:
- Move the users & roles defined in tomcat-users.xml to JOSSO and use
JOSSO for everything.
- Use a separate virtual host for apps that shouldn't use JSSO
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Multiple UserDatabases
Posted by vramanaj <vr...@gmail.com>.
vramanaj wrote:
>
> http://old.nabble.com/file/p27011540/server.xml server.xml
> http://old.nabble.com/file/p27011540/app-context.xml.txt
> app-context.xml.txt
>
And the content in context file using josso as below
<Context>
<ResourceLink global="jdbc/SsoDs" name="jdbc/SsoDS"
type="javax.sql.DataSource"/>
</Context>
--
View this message in context: http://old.nabble.com/Multiple-UserDatabases-tp26977405p27011561.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org