Don't I feel stupid. Thanks Marten. I works now.
Type: Posts; User: jweder; Keyword(s):
Don't I feel stupid. Thanks Marten. I works now.
I am trying to learn the new AOP 2.0 XML syntax and for some reason I am missing something simple. Any help would be much appreciated.
I want to add some around advice to this StandardStringUtils...
I agree... Big time. I think I will avoid the spring-modules-cache until its sorted. :(
Think I'll just use Ehcache directly.
Yeah, I know where you are coming from sroach... you like to be next to the code.
In this project, I'd like to "stretch the boundaries" and author the HTML with a good tool that allows non-coders...
We are planning to use Spring MVC and JSPs w/ JSTL in a new application.
I was wondering if the community could recommend what is the best HTML authoring tool? Tell me how you build your pages and...
I would like to know what is the recommended recipe for implementing simple "are you authenticated" security for method interceptors.
I am using MethodSecurityInterceptor to wrap my services.
...
I have a nice little Spring application exposing some business logic. I am using Acegi to provide method security for the services (POJO/POJI with AOP and HTTP remoting).
From the...
Just in case, here are my configs:
web.xml
<display-name>JSARC</display-name>
<description>
Sample Java Spring Acegi Rich Client Application
</description>
Thanks Luke;
I want to utilize the SessionRegistry and ConcurrentSessionController. We have some awkward home-brew stuff that I would like to get rid of.
My latest attempts at using these...
I want to provide a remote service for rich client to login and logout.
As its implemented now, the service goes to the authentication manager to authenticate by using a...
Looks like you are on the right track to me.
I just recently did this in our project. I created my own UserDetailsService (MyCustomUserDetailsService implements UserDetailsService).
In your...
I'd bet you don't have the correct password in the file. It would have to be MD5 encrypted with the salt value attached and Base64 encoded.
I recall from briefly trying to validate some of this...
Sorry. Probably common knowlege. I see it now.
RoleVoter:
public void setRolePrefix(String rolePrefix) {
this.rolePrefix = rolePrefix;
}
public String getRolePrefix()...
Thanks a lot katentim.
That little hint got me a breakthrough.
FYI: I'm fairly new to Acegi and did not know about the Contacts demo... its easy to miss on the site. Looking at it helped.
Please help.
I have a Java client that talks to a service deployed in Jetty. Everything works until I try to add security.
There must be some trick to getting the Authentication object passed...
I am trying to wire a MethodSecurityInterceptor with its objectDefinitionSource and for the first time I tried using role names other than what is in all the reference material and examples.
What...
Well, I'm still trying to determine where and when I want to engage domain object security but I did see how to programmatically wrap an object. Its primative but its a start.
protected...
Hmmm.
Lets say I wrap the domain objects in the service layer. Is there any way to load an interceptor and programatically set its object?
Example psuedo code:
SomeServiceImpl implements...
I want to secure our domain objects (AOP Acegi) and extend them to the service layer clients (web, swing, etc).
From examples, I've been able to wrap POJOs with security. My question here is...
Thanks costin.
I figured out the clogger. I put a commons-logging.properties in the classpath:
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger...
My app has a remote class loader.
Spring is looking for some stuff during startup and causing some minor delays. (See below)
How can I configure it so that it won't do the default fallback...
Is there any way to programatically determine the user's privileges on an object? I'm using Acegi AOP interceptors on domain objects.
One example usage:
Disable GUI widgets for fields that the...
Looking at how the authentication manager accesses the security context for the authorization; I can't figure out how to do this in a non-web J2EE application. I will have many users. I can't rely on...
Looking for recommendations on how to handle user information during a session inside a rich client. Primarily focused on dealing with things like identity and security implementation for a client...
I found several others looking to do this... each slightly different approaches and one using the SingletonBeanFactoryLocator with in a custom DispatcherServlet.
This is what I did just in case...