[jboss-user] [JBoss Portal Users] - Re: exo Portal, JBoss Portlet Bridge, RichFaces, Seam: a bit

2009-12-03 Thread kpalania
Thanks Thomas. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268798#4268798 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268798 ___ jboss-user mailing list jboss-user@lists

[jboss-user] [JBoss Portal Users] - exo Portal, JBoss Portlet Bridge, RichFaces, Seam: a bit los

2009-12-02 Thread kpalania
I am trying to build a J2EE application on the latest JBoss server that uses the Spring framework amongst other things. I plan to use the JSF framework for building the UI. I also want to be able to integrate with JBoss Portal. Realized that JBoss Portal has merged with exo so I picked up a JBos

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Not able to access the second JBoss instance started on

2008-12-02 Thread kpalania
It had to do with ActiveMQ and its datasource. Essentially, I had to point the second one to a different datasource. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193889#4193889 Reply to the post : http://www.jboss.com/index.html?module=bb&op=postin

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Not able to access the second JBoss instance started on the

2008-12-02 Thread kpalania
I've created the bindings.xml file as mentioned in the link below and have modified jboss-service.xml such that it points to that file. http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/beta422/html/Services_Binding_Management-The_Sample_Bindings_Fi

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Running Multiple Instances of JBoss on Windows

2008-12-02 Thread kpalania
I modified the ports in server.xml (tomcat), jboss-service.xml, etc, but I am not able to access the 2nd instance of JBoss running on the same Windows machine unless and until I shutdown the first instance. Could someone point me to relevant documentation please? Basically, I need to be able to

[jboss-user] [JBoss/Spring Integration] - Getting an instance of a bean from JBoss

2008-10-07 Thread kpalania
When JBoss starts up, my Spring beans get initialized. How can I get an instance of that bean at runtime though? Essentially, I need to get to the DefaultListableBeanFactory and do a getBean() but I am a little unclear about what the best way to do that is. Thanks. View the original post : htt

[jboss-user] [Security & JAAS/JBoss] - Integrating CAS with JBoss Security

2008-05-28 Thread kpalania
Hi, I am looking into integrating our current application that uses JBoss Container Managed Security (with Out of the Box and Custom Login Modules) with CAS (Central Authentication Service). We also have a Custom Tomcat Valve/Authenticator implemented but I would assume that it makes no differ

[jboss-user] [JBoss Portal] - Re: Renders widgets in parallel (AJAX)

2008-04-17 Thread kpalania
Anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144996#4144996 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144996 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [JBoss Portal] - Renders widgets in parallel (AJAX)

2008-04-16 Thread kpalania
hi, how can I make the widgets render in parallel so that the slowest one doesn't form the weakest link. In other words, I would like the page to load and then, have the widgets render one by one. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=414466

[jboss-user] [JBoss Portal] - Re: Show/hide widgets programmatically

2008-01-03 Thread kpalania
any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116762#4116762 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116762 ___ jboss-user mailing list jboss-user@lists.jbo

[jboss-user] [JBoss Portal] - Show/hide widgets programmatically

2008-01-02 Thread kpalania
hi, we have hidden the "configure" screen but want to be able to show or hide the widgets (all of them are exposed by default) programmatically, or via a simple SQL script. this is particularly important since we have an issue with the widgets disappearing at random and want to be able to add th

[jboss-user] [JBoss Portal] - The case of the disappearing portlet..

2007-10-02 Thread kpalania
Hi, >From time to time, I see portlets disappearing and since we hide the >"Configure portlets" page in our application, there seems to be no way for the >user to get back to the portlets that they have now lost. This happens >definitely as a result of the minimize/maxmimize/restore events. Once

[jboss-user] [JBoss Portal] - Re: How I can hide a portlet declaratively or programmatical

2007-09-18 Thread kpalania
Folks - Your help would be appreciated.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085585#4085585 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085585 ___ jboss-user mai

[jboss-user] [JBoss Portal] - Re: How I can hide a portlet declaratively or programmatical

2007-09-17 Thread kpalania
Anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085188#4085188 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085188 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [JBoss Portal] - How I can hide a portlet declaratively or programmatically?

2007-09-14 Thread kpalania
I don't want to use the "Configure Dashboard" screen and want to add support to add/hide the portlets we expose in our application. How can I do that? If someone could point me to either the APIs and/or the tables that drive this, it would be helpful. Also, any changes made to default-object.xm

[jboss-user] [JBoss Portal] - Re: No principals found in domain error

2007-09-12 Thread kpalania
Principal[] principals = domain.getPrincipals(); | This returns NULL (in ContextPolicy.implies) and leads to the issue. Why does the ProtectionDomain not return the principals set in the Tomcat authenticator (I've implemented a Custom Tomcat Valve). Is this a JBoss Portal bug? View the ori

[jboss-user] [Security & JAAS/JBoss] - Re: No principals found in domain error

2007-09-12 Thread kpalania
Principal[] principals = domain.getPrincipals(); | This returns NULL (in ContextPolicy.implies) and leads to the issue. Why does the ProtectionDomain not return the principals set in the Tomcat authenticator (I've implemented a Custom Tomcat Valve). Is this a JBoss Portal bug? View the ori

[jboss-user] [JBoss Portal] - Re: No principals found in domain error

2007-09-12 Thread kpalania
public boolean implies(ProtectionDomain domain, Permission permission) |{ | // Check the | boolean isJaccPermission = permission instanceof EJBMethodPermission | || permission instanceof EJBRoleRefPermission | || permission instanceof WebResourcePermi

[jboss-user] [Security & JAAS/JBoss] - Re: No principals found in domain error

2007-09-12 Thread kpalania
public boolean implies(ProtectionDomain domain, Permission permission) |{ | // Check the | boolean isJaccPermission = permission instanceof EJBMethodPermission | || permission instanceof EJBRoleRefPermission | || permission instanceof WebResourcePermi

[jboss-user] [Security & JAAS/JBoss] - Re: No principals found in domain error

2007-09-12 Thread kpalania
In the case where this IS an error, I see the org.jboss.security.jacc.DelegatingPolicy class (and the implies() API) come into play, while in the other (working) case, I see the ContextPolicy and the implies() API in that class come into play... So, there is definitely some difference but wheth

[jboss-user] [JBoss Portal] - Re: No principals found in domain error

2007-09-12 Thread kpalania
In the case where this IS an error, I see the org.jboss.security.jacc.DelegatingPolicy class (and the implies() API) come into play, while in the other (working) case, I see the ContextPolicy and the implies() API in that class come into play... So, there is definitely some difference but wheth

[jboss-user] [JBoss Portal] - No principals found in domain error

2007-09-11 Thread kpalania
2007-09-11 20:12:28,333 TRACE [org.jboss.security.jacc.ContextPolicy] No principals found in domain: ProtectionDomain null null How can I fix this? I see this when I try to access JBoss Portal (that is integrated with our application). I tried to get the subject, add principals to it, and

[jboss-user] [Security & JAAS/JBoss] - No principals found in domain error

2007-09-11 Thread kpalania
2007-09-11 20:12:28,333 TRACE [org.jboss.security.jacc.ContextPolicy] No principals found in domain: ProtectionDomain null null How can I fix this? I see this when I try to access JBoss Portal (that is integrated with our application). I tried to get the subject, add principals to it, and u

[jboss-user] [Security & JAAS/JBoss] - Re: Commenting out auth-method in web.xml does not lead to e

2007-09-11 Thread kpalania
ok, i found the problem. the context.xml file had an entry (a Tomcat valve definition) that superceded the entry in web.xml :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083211#4083211 Reply to the post : http://www.jboss.com/index.html?module=bb&op=post

[jboss-user] [Security & JAAS/JBoss] - Commenting out auth-method in web.xml does not lead to error

2007-09-10 Thread kpalania
..while it does lead to errors (as it SHOULD) in the other application deployed to the same JBoss container. Essentially, the auth-method I specify is not getting picked up for one of the applications. I can even remove the entire element (auth-method) but still the authentication goes through

[jboss-user] [Security & JAAS/JBoss] - Re: Commenting out auth-method in web.xml does not lead to e

2007-09-10 Thread kpalania
Subject was cut out.. I meant, it leads to errors in one application but not in the other.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082777#4082777 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082777 __

[jboss-user] [JBoss Portal] - Re: Portal and SingleSignOn

2007-08-31 Thread kpalania
I've been able to support SSO in our application that uses JBoss Portal. It is quite simple to do it unless ofcourse your requirements are more complicated, like in my case. For a basic use-case, you can enable the Tomcat SSO authenticator, use the same shared security realm that you use for th

[jboss-user] [JBoss Portal] - Re: preferences in portlet-instances.xml

2007-08-31 Thread kpalania
I agree. I am having to do a clean install as well, and this wasn't very intuitive :( I've made it a practice now and is part of the ANT target! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080076#4080076 Reply to the post : http://www.jboss.com/index.htm

[jboss-user] [JBoss Portal] - Is there a minimize event fo the portlets?

2007-08-31 Thread kpalania
If I want to be able to call a javascript function when either the portlet is minimized or maximized, how would I go about doing that? I am running into an issue with the minimize/maximize of the portlet states and want to do "something" when the user does that. Thanks. View the original post :

[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default

2007-08-21 Thread kpalania
ok, the window-name had to be unique. that was one of the problems but the bigger issue was finding the correct deployment parent element. need to find out what the others are meant for. fix is small, but took a while to get there :( thanks for your pointers, Peter. much appreciated. View the

[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default

2007-08-21 Thread kpalania
ok, by trial and error, i found the right deployment element to stick my portlet entries in. Don't know yet why one works and not the other, or what is the difference between these elements, but nevertheless, i can add a portlet to the default page this way. however, adding a second portlet doe

[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default

2007-08-21 Thread kpalania
We have additional deployment entries but I've added the portlets to the first one (the one shown above). I've verified that the JBP_WINDOWS table gets populated with this new portlet. So, there IS an entry in this table, so it does mean that something is getting picked up from this file. Just t

[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default

2007-08-21 Thread kpalania
That is exactly how I have it, Peter. No difference at all (not sure if I can post the entire file since it is our source code, etc - see what I mean). The only additional thing to note is this - | | | keep | | default | | |

[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default

2007-08-21 Thread kpalania
| default | |AdminPortletWindow |SomePortletInstance |center |0 | | If I add 2 blocks of this, only the second one is added. Verified the JBP_WINDOWS table

[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default

2007-08-21 Thread kpalania
I am editing the default-object.xml file bundled with my portlets. I've verified that this file gets picked up now. This is how my entry looks in portlet-instances.xml - | | SomePortletInstance | SomePortlet | | ..and this is how my

[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default

2007-08-21 Thread kpalania
Also, I am almost certain that there is something not quite right with the entry I added to the default-object.xml file. It doesn't complain when JBoss starts up but I have a feeling it is not quite right. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076462

[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default

2007-08-21 Thread kpalania
Almost missed that post. Thanks for your build script. Let me take a look at that! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076461#4076461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076461 ___

[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default

2007-08-21 Thread kpalania
Yes, I've added these portlets to portlet.xml and portlet-instances.xml as well. I know that they are available as I am able to add them through the UI. However, I want to add these declaratively so that they show up by default. Plus, we don't want to allow our users to remove these portlets so

[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default

2007-08-21 Thread kpalania
| default | |AdminPortletWindow |AdminPortletInstance |center |0 | | |AdminPortletWindow |PortletInstance2 |

[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default

2007-08-21 Thread kpalania
Okay, thanks PeterJ. You've confirmed my suspicion. That's how I thought it probably worked but was a little puzzled by what i saw - when I tried to wipe out the only portlet entry in that file and re-started JBoss, it seemed to not render any portlet at all. Maybe, something else is going on he

[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default

2007-08-21 Thread kpalania
Thanks PeterJ. I found 1 occurrence of the default-object.xml file in the JBoss folder. Making any changes to that file doesn't seem to make any difference to the list of portlets displayed on the default page.. Is there something else I need to look at? Thanks. View the original post : http:/

[jboss-user] [JBoss Portal] - Configuring JBoss Portlets by default

2007-08-17 Thread kpalania
Hi, If I want to add a bunch of (custom) Portlets by default when the user accesses the main page (as the "configure" page is hidden), how would I do that? Which of the portal tables do I need to seed? I see a number of tables that are updated when a portlet is added and I want to do this via a

[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-10 Thread kpalania
"Ok in this case you have no choice but to go the Tomcat Valve/Custom Authenticator route. " Sohil - thanks very much for suggesting this! I've successfully implemented a custom Tomcat Authenticator/Value, and that solves the problem, and I've been able to achieve exactly what I wanted. Needle

[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-07 Thread kpalania
"[EMAIL PROTECTED]" wrote : ah ok- | | I understand your situation now. | | Ok in this case you have no choice but to go the Tomcat Valve/Custom Authenticator route. | | This is the only place you can actually grab hold of the Tomcat Session and populate it with the Subject/Princip

[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-07 Thread kpalania
..and my guess is that after the authentication happens, the PolicyContext is set for "javax.security.auth.Subject.container" but this happens in a different thread. Therefore, when I do a servlet forward, this subject is not found as this is a new/different thread.. View the original post : h

[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-07 Thread kpalania
Okay, one step further. This is what I need: public boolean checkPermission(PortalPermission permission) throws IllegalArgumentException, PortalSecurityException |{ | try | { | // Get the current authenticated subject through the JACC contract | Subj

[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-07 Thread kpalania
"[EMAIL PROTECTED]" wrote : Yes you are correct. New security realm is not the issue. Its inability of the Servlet Environment to properly populate the security information needed by JBoss Portal. | | In fact why dont you try swicthing the portal security realm to your custom/shared securit

[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-07 Thread kpalania
"I would recommend integrating with JBoss Portal's security realm with your custom LoginModules. " What do you exactly mean by this? JBoss Portal uses a "portal" security realm that uses the JBoss OOTB login modules. I've used my own security realm and that works just fine if I use container ma

[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-07 Thread kpalania
Sohil, The reason I need to use my own security realm is because this realm is shared by more than one application and JBoss Portal is just one of the applications deployed in JBoss that uses this shared realm. The way I've implemented this - * There is a shared security realm (and possibly, mor

[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-07 Thread kpalania
"[EMAIL PROTECTED]" wrote : to integrate with the JAAS security realm, your best bet/cleanest solution would be to write your own Tomcat Authenticator (which is actually a form of Tomcat Valve) | | Authenticators are actually pretty simple in tomcat and best source of "How To" is the tomcat

[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread kpalania
If there is a simple way to move away from container managed FORM-based authentication for JBoss Portal and invoke the security realm explicitly, keeping everything else the same, that would work perfect for me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4

[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread kpalania
"So in your case I would recommend using a Tomcat Valve to process your authentication and set up the Subjects the way JAAS does it inside Tomcat. " Is this my ONLY option? I am not familiar with either how Tomcat valves work, or how subjects are set inside Tomcat, so it might be a little painfu

[jboss-user] [JBoss Portal] - Re: How to get the subject in version 2.6?

2007-08-06 Thread kpalania
I guess I could do something like this: | Subject subject = (Subject) PolicyContext | .getContext("javax.security.auth.Subject.container"); But, how can I set this? Essentially, I want to set this to the new subject (with the additional principals) so that when the JB

[jboss-user] [JBoss Portal] - How to get the subject in version 2.6?

2007-08-06 Thread kpalania
import org.jboss.portal.security.SubjectAssociation; | import org.jboss.portal.security.PortalSubject; | | PortalSubject subject = SubjectAssociation.getSubject(); What is the equivalent of this in JBoss Portal 2.6? View the orig

[jboss-user] [JBoss Portal] - Re: Moving away JBoss Portal from FORM-based authentication

2007-08-06 Thread kpalania
Related thread: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4071378#4071378 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071379#4071379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071379 __

[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread kpalania
Thanks Sohil. Yes, this is exactly what I am doing (I also tried using the JBoss TransactionManager class directly, and that worked too). Now, I am able to explicitly set the "portal.principal" session attribute to this user but like I mentioned earlier, it still doesn't help. The principals ar

[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread kpalania
ok, i think i found it. i am doing it programmatically using the JBossTransactionManagerLookup.getTransactionManager() API. While this works, and I am able to explicitly set the "portal.principal" session attribute to a HashMap that contains the Portal User object, I am still not able to get p

[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread kpalania
Thanks folks, but I am not making this call in a portlet. I am trying to authenticate the user WITHOUT using the Out-of-the-box FORM-based authentication and as part of these changes, I've disabled FORM-based authentication, created a new servlet that does the authentication and a redirect base

[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread kpalania
Error stack: | org.hibernate.HibernateException: Unable to locate current JTA transaction | at org.hibernate.context.JTASessionContext.currentSession(JTASessionContext.java:61) | at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:542) | at org

[jboss-user] [JBoss Portal] - Cannot retrieve user: Unable to locate current JTA transacti

2007-08-06 Thread kpalania
I am trying to retrieve a user from the JBoss Portal DB using the APIs provided, and I am running into a JTA Transaction exception ("unable to locate currentJTA transaction"). I've confirmed that the SessionFactory object used in HibernateUserModuleImpl is not null. | UserModule userModule

[jboss-user] [JBoss Portal] - Re: Problem while retrieving user details from db

2007-08-06 Thread kpalania
Did you find the solution? I am running into a similar issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071343#4071343 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071343 _

[jboss-user] [JBoss Portal] - Re: Moving away JBoss Portal from FORM-based authentication

2007-08-06 Thread kpalania
The "portal.principal" session attribute is not set to the authenticated user, in my case, and that is what is causing the problem. I have 2 apps, running in JBoss and the custom login module implementation code is part of a shared library used by both these apps. However, the session is differ

[jboss-user] [JBoss Portal] - Re: Moving away JBoss Portal from FORM-based authentication

2007-08-06 Thread kpalania
ok, will look into that. any pointers/examples? also, for now, do you know why using a filter wouldn't work? the principals don't seem to be set. if i keep everything else the same and use my security realm with the form-based authentication, things work fine. View the original post : http://w

[jboss-user] [JBoss Portal] - Re: Moving away JBoss Portal from FORM-based authentication

2007-08-02 Thread kpalania
ok, will look into that. any pointers/examples? also, for now, do you know why using a filter wouldn't work? the principals don't seem to be set. if i keep everything else the same and use my security realm with the form-based authentication, things work fine. View the original post : http://w

[jboss-user] [JBoss Portal] - Moving away JBoss Portal from FORM-based authentication

2007-08-02 Thread kpalania
Hi, I've been able to use FORM based authentication and authenticate the JBoss Portal user using my a JAAS security realm that uses module/password stacking. Now, I want to move away from using j_security_check but still use the login modules and my security realm. I made the changes to web.xml

[jboss-user] [Security & JAAS/JBoss] - Using filters with j_security_check

2007-08-01 Thread kpalania
Hi, I've an app that uses form based authentication and custom Login Modules. How can I intercept a request to a secure URL (before JBoss container does it, and redirects to login page) so that I can do some pre-processing? I tried adding a filter and mapped it to "/j_security_check" but that do

[jboss-user] [Security & JAAS/JBoss] - JBoss PortalPrincipal: Difference between 2 cases

2007-07-27 Thread kpalania
I see this in my JBoss log and would like to understand the difference. The second case is simple. There is a group called "PortalPrincipal" and there is 1 member in that group called "jonathan". However, what does the first case mean (where this is a square bracket). This seems to cause an issu

[jboss-user] [Security & JAAS/JBoss] - LDAPExtLoginModule: How to prevent UserPrincipal from being

2007-07-27 Thread kpalania
I've been breaking my head over working around a JBoss Portal bug that prevents access to the dashboard if the Principal has a "." (dot). So, I can't use JBoss Portal if I logged in as "[EMAIL PROTECTED]" or "[EMAIL PROTECTED]", etc. To be able to workaround this, I need to avoid the addition of

[jboss-user] [JBoss Portal] - Re: Does JBoss Portal support usernames with special charact

2007-07-26 Thread kpalania
I see a [EMAIL PROTECTED] added somewhere though I am logging in as temp (though I am authenticating as "[EMAIL PROTECTED]" for LDAP purposes, I've overridden most APIs in the login modules to simply return "temp"... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopi

[jboss-user] [JBoss Portal] - Re: Does JBoss Portal support usernames with special charact

2007-07-26 Thread kpalania
Sure, will try to look into it! In the meantime, is there a workaround for this that you can think of? I tried to submit the request as "userA" (as opposed to [EMAIL PROTECTED]), and then, add the suffix to authenticate the user in the custom LDAP login module. This doesn't work as the JBoss Po

[jboss-user] [JBoss Portal] - Re: Does JBoss Portal support usernames with special charact

2007-07-26 Thread kpalania
Filed bug: http://jira.jboss.com/jira/browse/JBPORTAL-1614 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067992#4067992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067992

[jboss-user] [JBoss Portal] - Re: Error accessing dashboard page

2007-07-26 Thread kpalania
Well, even without the "." in the username, I get this exception when I try to stack login modules. The authentication happens in one of the earlier modules and the password is SHA encrypted. When I get to the last module, I create the JBoss Portal user (as the user would have been authenticated

[jboss-user] [JBoss Portal] - Re: Error accessing dashboard page

2007-07-26 Thread kpalania
Looks like this is a JBoss bug :( http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067818#4067818 Will be filing a bug. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067820#4067820 Reply to the post : http://www.jboss.com/index.html?module

[jboss-user] [JBoss Portal] - Re: Does JBoss Portal support usernames with special charact

2007-07-25 Thread kpalania
This is definitely a JBoss bug. Go to this link, http://portal.demo.jboss.com/portal/default, and try adding a user with a "." in the username. And login as that user. Click on dashboard. It will fail. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067674#406

[jboss-user] [JBoss Portal] - Re: Does JBoss Portal support usernames with special charact

2007-07-25 Thread kpalania
Also, Gary, with everything else being the same, things work fine for me when I replace the "." in the user name with some other character.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067641#4067641 Reply to the post : http://www.jboss.com/index.html?mod

[jboss-user] [JBoss Portal] - Re: Does JBoss Portal support usernames with special charact

2007-07-25 Thread kpalania
Thanks Gary.. Hmm.. That is really weird.. Which version of JBoss are you using? I am using 2.6.1 (the latest version) and have created a custom login module that extends DBIdentityLoginModule. I verified this with a standalone test case - used the OOTB login module and tried to sign in as a use

[jboss-user] [JBoss Portal] - Re: Does JBoss Portal support usernames with special charact

2007-07-25 Thread kpalania
The dot in the username is what is causing this issue. This is blocking for us, as our users have dots in their usernames. Besides, it is not possible to have entire email addresses as usernames because of this bug. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic

[jboss-user] [JBoss Portal] - Does JBoss Portal support usernames with special characters?

2007-07-25 Thread kpalania
I am using LDAP for authentication and users need to be able to login using their entire email address ([EMAIL PROTECTED]). However, JBoss Portal seems to fail with no relevant exception resulting in a WSOD (white screen of death) when such an user attempts to login. Is this a known issue? And a

[jboss-user] [Security & JAAS/JBoss] - Re: Federated SSO documentation and examples

2007-07-23 Thread kpalania
thanks Sohil. appreciate it. i had another post about a JBoss Portal role issue. Essentially, i am not able to view the "dashboard" page as a user that I seeded (populated jbp_users and jbp_role_management tables) though i can login as that user.. if you have any thoughts on that, that would be

[jboss-user] [JBoss Portal] - Re: Error accessing dashboard page

2007-07-23 Thread kpalania
Anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066847#4066847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066847 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [JBoss Portal] - Re: Error accessing dashboard page

2007-07-20 Thread kpalania
and I see this line right before the error stack: 2007-07-20 16:26:50,603 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Successfully passed all security constraints View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066330#4066330 Reply to the po

[jboss-user] [JBoss Portal] - Error accessing dashboard page

2007-07-20 Thread kpalania
Anyone knows what could cause this? I've changed the default security realm and am using a custom realm that extends some JBoss login modules. I am able to get to the home page (embedded within our app) but am not able to go to the "view" mode by clicking on the "dashboard" link. I can get to th

[jboss-user] [Security & JAAS/JBoss] - Federated SSO documentation and examples

2007-07-19 Thread kpalania
I am just starting to explore the JBoss Federated SSO technology for integrating a bunch of applications that we have deployed in JBoss. I downloaded the binary and source, and know where the javadoc is. But, didn't really find any documentation and/or examples. Perhaps, I missed it. Could some

[jboss-user] [JBoss Portal] - Re: API to create JBoss Portal user and assign a default rol

2007-07-19 Thread kpalania
Would you mind pointing me to an example or providing a link to the relevant chapter? Tried to google it, but couldnt find any hits, and I've looked through the Portal docs to get a sense for the login modules, etc, and I almost have all the necessary login modules. I am doing a direct insert i

[jboss-user] [Beginners Corner] - Re: Classloader issues: Need to share libraries across web a

2007-07-18 Thread kpalania
thanks very much jaikiran! i'll give this a shot and see how it goes. will respond with questions if there are some issues. thanks again! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065609#4065609 Reply to the post : http://www.jboss.com/index.html?module

[jboss-user] [JBoss Portal] - API to create JBoss Portal user and assign a default role

2007-07-18 Thread kpalania
Is there an API? I want to create a user and assign a default role on the fly if the user doesn't exist in the Portal database? When I get this far, the user would be automatically authenticated, so no worries there, it is just the authorization part. View the original post : http://www.jboss.

[jboss-user] [Beginners Corner] - Classloader issues: Need to share libraries across web appli

2007-07-18 Thread kpalania
Hi, I have 2 applications (WAR and SAR). Currently, the same set of shared libraries are copied to both the locations and hence, I am running into a ClassCastException which appears to be due to ClassLoading issues (based on reading done). So, I need to move these to the EAR level (WAR and SAR

[jboss-user] [Management, JMX/JBoss] - ncomplete Deployment listing error when MBean is deployed

2007-07-17 Thread kpalania
2007-07-17 19:21:58,612 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing: Anyone knows what could cause this exception? 2007-07-17 19:21:58,612 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing: --- Packages waiting

[jboss-user] [Management, JMX/JBoss] - Cannot find ServiceMBeanSupport in any of the JBoss librarie

2007-07-17 Thread kpalania
Found ServiceMBean in a server/default/deploy/management/console-mgr.sar/web-console.war/applet.jar but didn't find the ServiceMBeanSupport class there. Which is the jar that is supposed to contain these classes? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p

[jboss-user] [Management, JMX/JBoss] - Re: Cannot find ServiceMBeanSupport in any of the JBoss libr

2007-07-17 Thread kpalania
..never mind. found it in jboss-system.jar that was under /lib (kept looking under /server). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065137#4065137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065137 _

[jboss-user] [Security & JAAS/JBoss] - Re: JBoss Portal Login

2007-07-16 Thread kpalania
Thanks Sohil. This is what I did - * Modified portal-server.war/WEB-INF/login-config.xml and added a new security realm, "myrealm". * This security realm uses a bunch of custom, stacked login modules that another application (say, app1) deployed to JBoss uses. App1 works fine and user is authen

[jboss-user] [Security & JAAS/JBoss] - JBoss Portal Login

2007-07-16 Thread kpalania
I am trying to change the security domain for the JBoss Portal so that it picks up my custom login module implementations that I use for other applications deployed in JBoss. I modified jboss-web.xml so that it uses a different security realm and I also modified web.xml in the JBoss Portal appli

[jboss-user] [Security & JAAS/JBoss] - JBoss Login Modules: Password Stacking

2007-07-11 Thread kpalania
Hi, I am trying to stack 2 login modules (LDAP for authentication and Database for authorization). Tried to follow the example given in the JBoss site but I keep getting a NullPointerException as I don't have the role related module-option elements in login-config.xml for the LDAP module, and no

[jboss-user] [JBoss jBPM] - Re: How to tell how far the process has moved along in the w

2007-02-20 Thread kpalania
Sorry, my mistake. When I try to access the web console using a URL like this: http://hostname:port/jbpm - as is what is mentioned in the docs, I get a HTTP 404 error. I didn't get any errors while deploying the jbpm.war file though. View the original post : http://www.jboss.com/index.html?mo

[jboss-user] [JBoss jBPM] - Re: How to tell how far the process has moved along in the w

2007-02-20 Thread kpalania
Thanks estaub. I appreciate it. Another thing - I'm able to get to the web console using the test suite but when I try to go this console at work (where jbpm is deployed in tomcat and not jboss), it doesn't seem to work... any thoughts? View the original post : http://www.jboss.com/index.html

[jboss-user] [JBoss jBPM] - Re: How to tell how far the process has moved along in the w

2007-02-19 Thread kpalania
Anyone else with some useful answers, please respond (and kukeltje, please ignore this thread). Are there some samples out there that could help someone get a quick start on this? I've worked on several different technologies over the years, and I don't believe the jBPM documentation is upto th

[jboss-user] [JBoss jBPM] - Re: How to tell how far the process has moved along in the w

2007-02-16 Thread kpalania
You probably didn't understand my question. I guess, it doesn't matter since your reply was not useful in anyway. If you can't help, isn't it easy enough to ignore the thread? Forums are meant for people to share their knowledge. View the original post : http://www.jboss.com/index.html?module=b

[jboss-user] [JBoss jBPM] - How to tell how far the process has moved along in the workf

2007-02-16 Thread kpalania
Say, I have a jBPM workflow process definition, and it has several nodes/states/forks, etc. Now, I start this workflow process and it has gone some distance but hasn't reached the end, because there is some wait state or something, and I want to be able to tell where the process is at any given

[jboss-user] [JBoss Getting Started Documentation] - DailyRollingFileAppender ClassCastException

2007-02-09 Thread kpalania
org.apache.log4j.Logger.getLogger(.class) seems to throw this exception. In the log4j.xml file, the appender "FILE" points to the org.jboss.logging.appender.DailyRollingFileAppender class. Any idea what could cause this? View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[jboss-user] [JBoss jBPM] - JMS Message Listener error

2007-01-26 Thread kpalania
I see the following error when I try to initiate a jBPM workflow process running in Tomcat. The workflow process is initiated and ultimately a JMS message is added to a queue running in JBoss. I'm just starting to learn about this application, so if you need more information to help, please do l

  1   2   >