So this was the issue https://jira.springsource.org/browse/spr-3815 :(.. jars not being copied.. My app is working now.
Type: Posts; User: rrkwells; Keyword(s):
So this was the issue https://jira.springsource.org/browse/spr-3815 :(.. jars not being copied.. My app is working now.
name of the property in your modelAttribute.
Login.java
{
private String userId;
private String password;
//getters and setters
}
In your LoginController you will add the Login object...
I have finally decided add this preference param to HTTPSession and retreive it on every page render.
I am experiencing a weird issue. I have a couple of util classes that are annotated as @Component and I am calling its methods ni evaulate element like..
<on-start>
<evaluate...
Hello John,
I have exactly the same issue. Did you figure out what the issue was? Thanks!
Hello,
I need help with implementing cookie type variables in my flow. I have a user preference setting value that I store in a flowscoped object.
public class MyFlowUtil{
private...
@kaj..
Is there any way I can add a default text to each Error element?
Lets say, I want to add text "Error:" in front of the actual message. So far I have been adding that text to each error...
What is the best place to call the business logic in? I have the following requirements.
1). Get the search criteria from user
2). If the current user is trying search for unauthorized results...
I have a simple flow definition file with couple of view-states. I wanted to add a global-transitions section for exception pages and as soon as I add that element, I am getting a weird error.
...
Hi,
Can someone please clarify at what instant the "model" objects of view state will be added to the flowscope? I am trying to setup some default values to my model object but the object isn't...
I have an hibernate entity that uses Sequence GenerationType strategy with @SequenceGenerator for generating the id. I need the value of this id before this transaction is committed to use it in...
Oops it was too early call for help.. I just didn't have the proper version of aop..
I am getting following error when a request is made to the page..
org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoSuchMethodError:...
this is my security-config file's pre-auth-filter element..
<bean id="channelSecureFilter"
class="org.springframework.security.web.authentication.preauth.RequestHeaderAuthenticationFilter">...
I have a couple of questions regarding Preauthentication using SiteMinder scenario....
1). To invalidate a session on principal change, what all should be there in the configuration file? I...
I dont even need to extend PreAuthenticatedGrantedAuthroritiesUserDetailsService class. I can just add the roles in loadUserByUsername(String userName) itself.. this is what I have now and it is...
thanks for the reply jbbarquero.. your implementation seems to be the best possible for authenticating against db.. but it turns out I don't need that much complex stuff.. since I am using...
thanks rwinch.. you are very helpful..
one more question.. there is really no need to define the <global-method..> element in security-context file if I don't define any business related beans.....
From the API docs, it looks like extending the PreAuthenticatedGrantedAuthoritiesUserDetailsService is not proper way ti attach roles the principal.
Can anyone guide me on where exactly should I...
I am trying to implement pre-authentication scenario and I am running into few issues.. This is my security context file..
<sec:global-method-security secured-annotations="enabled"...
thanks for the reply rwinch.. in that case, if I define the element <global-method-security.../> in parent context it should be picked up by all the child context files right? I have a main context...
I am using a custom UserDetailsService to authenticate users. This uses a PersonDao/Service object that is autowired. To autowire this object, I had to include reference to datasource, sessionfactory...
here is a part of my code that I'm having issues with..
SearchForm.java
public class SearchForm{
private String name;
private List<Client> clients;
//getters and...
I want to call method on different service objects based on a request parameter. I have this currently..
@Controller
public class HomeController {
@Autowired
AService aService;