Unfortunately - adding the servlet mapping did not work. The app kept
complaining that it couldn't find the pages.
tonyl wrote:
>
> That sounds like a good idea - i will try that. Yeah, JSF is the first
> framework I've worked with and it was a company decision. I have to s
one I know I'm
> afraid (I am an unabashed Struts/Spring MVC fan ;-)
>
> Mike.
>
> On 3/13/07, tonyl <[EMAIL PROTECTED]> wrote:
>>
>>
>> Michael,
>>
>> I read the post and I'm a little fuzzy about what goes where and what
>> does
&
tly so that the header.jsp is
applied completely so that the links appear as well as the logo?
Tony
tonyl wrote:
>
> Michael,
>
> Thanks for the quick response - I'm a little new to the web app stuff - so
> I take it that when you say framework you mean something like
> skip steps as appropriate.
>
> Mike
>
>
> On 3/13/07, tonyl <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello,
>>
>> We have added a set of help files that are static html using the .htm
>> extension. And by placing a link in the header.jsp,
Hello,
We have added a set of help files that are static html using the .htm
extension. And by placing a link in the header.jsp, a user can get to the
main help page. There are 2 problems - one is that once the user is in the
help pages, the links to My Profile and Logout are no longer present ev
ior? I recall experiencing a similar issue in the
>> past, but I don't believe it was with JSF. Unfortunately, I don't
>> recall the solution.
>>
>> Matt
>>
>> On 3/7/07, tonyl <[EMAIL PROTECTED]> wrote:
>>>
>>> I'm working on t
I'm working on the same project with Bryan so here's some more information.
We've made changes in the security.xml, roles, and users so that we can have
the option for groups from which users can get permissions. Almost
everything works perfectly except one thing whereby a user *WITHOUT* admin
r
have an idea as to why?
Thanks,
Tony
tonyl wrote:
>
> Hmm - someone here then must have added it. OK - I tried to move the code
> from UserSecurityAdvice to the UserManagerImpl and the code didn't work.
> Not sure why. So I've left it in SecurityAdvice for the moment.
>
ow is to prevent someone from saving the
> form locally, modifying the HTML to give themselves the admin role, and
> then
> submitting it back. It was easier to do this logic in AOP rather than
> doing
> it in the web tier for each framework.
>
> Matt
>
> On 3/2/
the database
> for every request when the user information is not stored in the
> session (which is an option).
>
> Matt
>
> On 3/1/07, tonyl <[EMAIL PROTECTED]> wrote:
>>
>> I haven't been able to find any clear explanations of the userCache -
>
I haven't been able to find any clear explanations of the userCache - what it
is, why use it, etc. And I really don't understand the purpose of having a
userCache in 2 places.
What's going on?
Thanks,
Tony
--
View this message in context:
http://www.nabble.com/Why-is-userCache-in-userManager-
I think I have discovered the problem - the security.xml file has some
security advice filters that are restricting access to certain methods in
the UserManager. (getUsers() and removeUser()).
tonyl wrote:
>
> Here's a more full stack trace - still getting the problem - but only w
tt
>
> On 2/28/07, tonyl <[EMAIL PROTECTED]> wrote:
>>
>> Well, that doesn't seem to be true. We have an
>> applicationContext-test.xml
>> and an applicationContextForServerTestFn.xml which are located in the
>> test
>> package area with the functi
I don't quite understand why we have this additional
FilterSecurityInterceptor and MethodSecurityInterceptor stuff when the jsf
code has authorizations on all the actions - including menus, buttons, etc.
This seems way overcomplicated and also not readily transparent from a
coding perspective. Whi
; In most cases, we do use the context files you use to run your
>> application. For the most part, the only test context file is
>> applicationContext-resources.xml.
>>
>> Matt
>>
>> On 2/28/07, tonyl <[EMAIL PROTECTED]> wrote:
>>>
>>&g
; In most cases, we do use the context files you use to run your
>> application. For the most part, the only test context file is
>> applicationContext-resources.xml.
>>
>> Matt
>>
>> On 2/28/07, tonyl <[EMAIL PROTECTED]> wrote:
>>>
>>&g
s, we do use the context files you use to run your
> application. For the most part, the only test context file is
> applicationContext-resources.xml.
>
> Matt
>
> On 2/28/07, tonyl <[EMAIL PROTECTED]> wrote:
>>
>> I'm curious as to why AppFuse has structur
I'm curious as to why AppFuse has structured the testing framework it
generates in the manner it does; relying on a test applicationContext.xml
and extending the Spring test class. We have encountered a great deal of
problems with that set up because our actual applicationContext is very
different
Proxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:652)
at
com.openlogic.blueglue.server.service.impl.UserManagerImpl$$EnhancerByCGLIB$$123aa7cc.getUsers()
at
com.openlogic.blueglue.webapp.action.UserList.getUsers(UserList.java:79)
tonyl wrote:
>
> I already made User.getAuthori
mraible wrote:
>
> What if you change User.getAllAuthorities to be User.getAuthorities -
> does that work?
>
> Matt
>
> On 2/26/07, tonyl <[EMAIL PROTECTED]> wrote:
>>
>> I get the following error:
>>
>> Caused by: org.a
nd nothing is coming out in the console or the log.
Unfortunately, my laptop won't let me run tests - I have some configuration
problem with my database, but the application runs totally fine.
mraible wrote:
>
> On 2/26/07, tonyl <[EMAIL PROTECTED]> wrote:
>>
>>
riter = roles.iterator(); riter.hasNext(); )
{
RoleDB role = (RoleDB) riter.next();
authorities.addAll( role.getPermissions() );
}
}
return authorities.toArray(new GrantedAuthority[0]);
}
tonyl wrote:
>
documentation on it. You might want to check one of their sample
> apps.
>
> http://opensource.atlassian.com/projects/spring/browse/SEC-325
>
> Matt
>
> On 2/26/07, tonyl <[EMAIL PROTECTED]> wrote:
>>
>> So, we are adding groups of users to the base application
So, we are adding groups of users to the base application generated by
AppFuse, and we have set up the groups to accept Roles, just like Users. The
issue that I am having is how to have the session recognize the amalgamation
of roles from both the User and the Groups that the User belongs to.
For
w the admin menu on the side.
>
> Matt
>
> On 2/21/07, tonyl <[EMAIL PROTECTED]> wrote:
>>
>> So, we have a menu-config.xml that defines 2 menus - these show up
>> correctly
>> along the top of the web app. However, one of the menus appears along the
&
So, we have a menu-config.xml that defines 2 menus - these show up correctly
along the top of the web app. However, one of the menus appears along the
side of some pages and I can't find how to change that. I'd like to remove
the side menu while still having the menu appear along the top.
If anyo
I'm pretty new to JSF and Acegi, and I just learned about enableOnUserRole
and visibleOnUserRole attributes for components. I tried them out yesterday
and like the way they work and the fact that it cleans up the code in my
opinion.
What's considered the best practice? Is it better to use authori
should be sufficient.
>
> Matt
>
> On 2/21/07, tonyl <[EMAIL PROTECTED]> wrote:
>>
>> I need to get the current user and after searching forums and discussions
>> and
>> examples about how to do this, I found that variations on the following
>> code
&g
I need to get the current user and after searching forums and discussions and
examples about how to do this, I found that variations on the following code
seem to be considered a good way to get the current user:
SecurityContext ctx = null;
Authentication auth = null;
if( ctx =
29 matches
Mail list logo