1. Spring-Security: Call method after authentication stackoverflow.comI'd like to track when users are logging in to my application. I have some code that I would like to execute right after the user is authenticated. The problem is, ... |
2. Multi-condition Method Security stackoverflow.comI'm trying to do an or in an @PostAuthorize and I keep getting
It works fine if my logged in user has the same ... |
3. Injection Methods/Variables: public or Not? stackoverflow.comMany Java frameworks allow class members used for injection to be declared non-public. For example, injected variables in Spring and EJB 3 may be private. JPA allows properties of a persistent ... |
4. Protect access to Java methods depending on custom conditions stackoverflow.comIn short: I want to allow/forbid the execution of Java methods depending on certain conditions. What is the best available solution/mechanism/technique? Long question, via an (admittedly dumb) example: Say I have several methods ... |
5. Weird Xerces method access error stackoverflow.comI've tried this on both Xerces 2.9.1, and Xerces-J-2.11.0 with the same results. I'm writing a Spring3 Webflow app, using Xerces for XML parsing. When deploying the EAR, I get an issue
|
6. Spring Security 2.0.6 what calls the loadUserByName method of an UserDetailService stackoverflow.comI'm building a simple Sring MVC app. And now i'm trying to add Spring security. I've added a |
7. Method security in Spring Security stackoverflow.comI have a question regarding using Spring Security to protect against SQL injection. First of all, I know that use prepared statement can protect from any SQL injection. But In ... |
8. How to restrict the method to be accessed to a specific role? stackoverflow.comA qestion about Spring Security, Is there any way that I can define the names of all methods and restrict accessing to the method depending on the role of user. As ... |
9. Spring method security does not work for me stackoverflow.comi am new to spring security. i try to use spring security in my application. the basic spring security functionality works fine. but when i try to secure methods to allow only for ... |
10. Method Security question forum.springsource.orgHello, I have a question about method security. Here is a code: Code: @PreAuthorize("hasRole('ROLE_USER')") public void prepare() throws APIException { scheduleService = apiFactory.getScheduleService(); super.prepare(); aaa(); } @PreAuthorize("hasRole('ROLE_SUPERVISOR')") public void aaa() { ... |
11. Method Invocation & Data Access Security forum.springsource.orgMethod Invocation & Data Access Security I continue finding myself coming back to Spring Security to bridge a security need I have in an application that is currently going into development. ... |
12. No security check for inherited methods. forum.springsource.orgNo security check for inherited methods. I use spring-security-3.0.5 and got two class like class BaseClass { public methodOne() { } public methodTwo(){ } } @PreAuthorize("hasRole('ROLE_ADMIN')") class CustomeClass extends BaseClass { ... |
13. Access Getter Methods forum.springsource.orgI dont know if this post belongs in this section. Here it goes: I do not have access to the actual POJO. I need to dynamically access the getter method based ... |
14. Get access to the command object in the @InitBinder method forum.springsource.orgHi! In my @InitBinder method I call binder.setDisallowedFields(). Which fields that should be included here depends on the state of the command Object. I tried to get access to the command ... |
15. Access a business method's local variable in a method which is in an ASPECT forum.springsource.orgAccess a business method's local variable in a method which is in an ASPECT Hello! I want to access a local variable from a method in a business class, in a ... |
16. JPA entity method security forum.springsource.orgJPA entity method security Hey, I would like to use method security in JPA entity setters, so that I do not have to write DTOs. How to do this? @Secured works ... |
17. How to make object of myauthentication pass to authenticate method of myClass w forum.springsource.orgHi guys, I want to add some more fields to import org.springframework.security.core.Authentication class. So i need to override it can you tell me how to override it so that i will ... |
18. spring method security issue forum.springsource.orgAug 11th, 2011, 09:01 AM #1 lightyear View Profile View Forum Posts Private Message Junior Member Join Date Aug 2011 Posts 16 spring method security issue Hi Guys, I use to ... |
19. Method Security configuration can get too involved forum.springsource.orgMethod Security configuration can get too involved Spring Security 3.1.0.RC3. The problem having been discussed in this thread doesn't seem to have been solved since. I'd like to discuss it once ... |
20. How to access item data (e.g. total # of records) in headerCallBack's write method? forum.springsource.orgHow to access item data (e.g. total # of records) in headerCallBack's write method? My Job is as below: Code: |
21. How to get the online user count? Is there more easy method? forum.springsource.orgHi everyone: I need to know how many user logon to my web application.Is there any easy method in spring to do this? I mean that if spring support a listener ... |
22. Authentication method for RPC forum.springsource.orgMar 31st, 2005, 05:27 PM #1 TripleToe View Profile View Forum Posts Private Message Junior Member Join Date Mar 2005 Posts 6 Authentication method for RPC I'm fairly new to Acegi ... |
23. ProviderManager and authentication methods forum.springsource.orgProviderManager and authentication methods I am starting to look at how to secure my application. For my primary group of users, I have a requirement to use a web service for ... |
24. Dealing with Multiple Authentication Sources and Methods forum.springsource.orgDealing with Multiple Authentication Sources and Methods I am using CAS and Acegi (0.9.0) to authenticate a collection of web apps (spring mvc). I now need to add two additional forms ... |
25. Regarding Method Security forum.springsource.orgRegarding Method Security Hi, I am learning Acegi from last 2 months. With the help of this forum I was able to protect the URLs. Many thanks to all, specially karldmoore ... |
26. Transitive method security forum.springsource.orgTransitive method security Suppose I have a user with ROLE_A, that is accessing our service layer where the method based security is applied. There are 2 approaches: - AService, doSomething(); [ROLE_A] ... |
27. Stuck with Method Security! forum.springsource.orgJun 6th, 2007, 10:54 AM #1 FarhanJan View Profile View Forum Posts Private Message Junior Member Join Date May 2007 Posts 3 Stuck with Method Security! Hi, i really need some ... |
28. Wish to have access of caller method's param in advisor of methods being called forum.springsource.orgWish to have access of caller method's param in advisor of methods being called Sorry if the title doesn't make any sense. I am trying to describe what I am trying ... |
29. Method invocation security being too strict? forum.springsource.orgAug 23rd, 2007, 09:14 AM #1 AnnaSkawinska View Profile View Forum Posts Private Message Junior Member Join Date Aug 2007 Location Gliwice, Poland Posts 14 Method invocation security being too strict? ... |
30. Whats the correct way to access a static method? forum.springsource.orgHi all, I had a small doubt while creating a helper class with only one static method. Whats the best way to access this method? The normal java way, i.e. Class.method(args) ... |
31. Finding user role inside a business method forum.springsource.orgLet's say I am in a business method SomeRandomService.doOperationXyz(int someparam). The method does not get user's authorization or any security -related data as parameters. Can I access current user's roles somehow? ... |
32. Method Security forum.springsource.orgMethod Security Hi everyone, i'm trying to secure methods. somehow i only can use this feature on interfaces. when i try to secure for example a struts 2 action by adding ... |
33. Method Security in Spring Security 2.0.2 forum.springsource.orghi, I tried method security in Spring Security 2.0.2 Released but it doesn't work for for it's own sample! no one has a simple working sample? I'm really need it to ... |
34. Method-Access Security possible without SpringBeans? forum.springsource.orgMethod-Access Security possible without SpringBeans? Hello List, I have to decide today wether to use spring security or not. We have a SwingRichclient app, which calls methods on the application server ... |
35. how to user @DeclareParents to add new interface to class and call the class's method forum.springsource.orghow to user @DeclareParents to add new interface to class and call the class's method dear every one i get a class User like this Code: package com.yyhy.java.Privilege;// TODO define package ... |
36. Strange Method-Access Security Bug? forum.springsource.orgHey, Im trying to extend an existing Spring 2.5 App by using using Spring Security 2.0.3 to protect my application on method-access level, but my Service methods are not protected, i.e. ... |
37. calling method automatically after authentication succeeded forum.springsource.orgcalling method automatically after authentication succeeded Hello again, this time i need help with the following: I am using Spring and JSF with Facelets. Facelets and Spring Tags currently not working ... |
38. Problem with Acegi method security forum.springsource.orgProblem with Acegi method security Hi, I implemented method security using Spring MethodSecurityInterceptor. I will be calling my class as a Resource. ex: I am having resources A and B, Resource ... |
39. method not intercepted while authentication forum.springsource.orgmethod not intercepted while authentication Hi i hav implemented my custom UserDetailsService and I am calling a secured method from loadUserByUserName(). But that method is not intercepted here. After the user ... |
40. method security not compatible with JdbcDaoSupport? forum.springsource.orgmethod security not compatible with JdbcDaoSupport? I have two classes, call them XService and YService. XService is a simple class that doesn't extend anything. YService is a class that extends JdbcDaoSupport. ... |
41. Caching Users and Caching Methods forum.springsource.orgFeb 8th, 2009, 11:15 AM #1 ejml View Profile View Forum Posts Private Message Member Join Date Mar 2008 Posts 34 Caching Users and Caching Methods Hi Folks, I'm trying to ... |
42. What's the equivalent of SpringSecurityFilter for Method security? forum.springsource.orgWhat's the equivalent of SpringSecurityFilter for Method security? I'm not sure if such a thing exists but I'm debugging my faulty code and I'm seeing that Code: SecurityContextHolder.getContext().getAuthentication() always returns null ... |
43. user-specific methods in SimpleFormController forum.springsource.orgI would like to use user-specific methods instead of onSubmit in SimpleFormController. E.g. I have a class extended from SimpleFormController and i have to use login method to act like onSubmit. ... |
44. Use Method Security without using Spring Authentication forum.springsource.orgUse Method Security without using Spring Authentication I would like to Spring's Method Security ability to protect access to pages/methods based on user role. However, it seems that I have to ... |
45. How to use different authentication methods in on application forum.springsource.orgHow to use different authentication methods in on application Hi I have been requested to add LDAP authentication to our current application. which uses DAO authentication. I planned on: 1. using ... |
46. Preferred method for dealing with hierchical roles forum.springsource.orgPreferred method for dealing with hierchical roles Sorry to post what must be an obvious question. This is the product of me being new to spring security and three days of ... |
47. method security for a class forum.springsource.org |
48. Method Security forum.springsource.orgMethod Security Hi I am having problem setting Security on Method using @Secured tag, It works fine using Spring secuirty tags but method does not work Here is my configuration details ... |
49. Multiple authentication method forum.springsource.org |
50. method security forum.springsource.orgI am adding method security to the web app I am developing. In Spring-Config.xml, I put Code: |
51. Re-using method access security for enabling GUI components? forum.springsource.orgRe-using method access security for enabling GUI components? Hi, I am using Spring Security with my Wicket-Spring-iBatis application. I am going to use |
52. Method Security Problem in 3.0 forum.springsource.orgNov 9th, 2009, 02:34 PM #1 ccorey View Profile View Forum Posts Private Message Junior Member Join Date Jul 2009 Location Huntington Beach, CA Posts 3 Method Security Problem in 3.0 ... |
53. Method Security forum.springsource.orgMethod Security Hello All, I have a spring 3 web application that uses spring security. I am not using MVC as most of the model and controller logic was written prior ... |
54. Authorization based on a parameter of the method forum.springsource.orgAuthorization based on a parameter of the method From the documentation 15.3.2 Built-In Expressions : Where myPermissionEvaluator is the bean which implements PermissionEvaluator. Usually this will be the implementation from the ... |
55. How to use a custom authentication process on one method forum.springsource.orgHow to use a custom authentication process on one method I there, I've a question I cannot solve after some googleing for you. I'va my running spring security application. That's great. ... |
56. Multi-condition Method Security forum.springsource.orgI'm trying to do an or in an @PostAuthorize and I keep getting Code: Failed to evaluate expression 'returnObject.login == principal.username or hasPermission(returnObject,'read')' . It works fine if my logged in ... |
57. Spring security multiple authentication method forum.springsource.orgSpring security multiple authentication method Hi, I'm using Spring Security 3.0.2 with Spring 3.0.2. I have implemented my own facebook OAuth authentication. It is ok. But now I have to make ... |
58. Authorization for method=delete forum.springsource.orgAuthorization for method=delete I have a Roo app that uses the Roo-generated Spring Security. I would like to add authorization so that any delete requires the admin role. I tried the ... |
59. Method security being bypassed forum.springsource.orgHi, I am trying to integrate spring security with a REST Jersey web application. The method level security is being bypassed by the application. I tried it with @PreAuthorize and used ... |
60. Does MVC method PUT work with Spring security? forum.springsource.orgDoes MVC method PUT work with Spring security? I have problem exactly the same as stated in discussion in Roo Forum Broke RESTfulness with Spring Security Problem is this: In my ... |
61. upgrade from 3.0.3 to 3.0.5: java.lang.NoSuchFieldError: USER_DECLARED_METHODS forum.springsource.orgupgrade from 3.0.3 to 3.0.5: java.lang.NoSuchFieldError: USER_DECLARED_METHODS I just upgraded from 3.0.3 to 3.0.5 and I am getting this error consistently across two applications. Anyone can tell me why this is ... |
62. Method security doesn't work forum.springsource.orgNov 16th, 2010, 09:16 AM #1 auroqn View Profile View Forum Posts Private Message Junior Member Join Date Nov 2010 Posts 1 Method security doesn't work Hi, First of all I ... |
63. Method Security Issues forum.springsource.orgMethod Security Issues Hello, Im implementing in my application some kind of access control with spring security method security. I want to do this without having to use annotations. So I ... |
64. How to verify Ajax method authentication with Spring Security forum.springsource.orgHow to verify Ajax method authentication with Spring Security Sometimes my users leave their window open until their session times out. However, if they try to click a link that makes ... |