tag « Security « Spring Q&A





1. How do you know which XML parameters a Spring configuration tag has?    stackoverflow.com

I was just reading an article that showed the following Spring Security XML configuration:

<authentication-provider>  
  <password-encoder hash="sha" />  
  <jdbc-user-service data-source-ref="dataSource" />  
</authentication-provider>
I wondered ...

2. Spring Security Authorize tag always false    stackoverflow.com

I have about the equivalent to the following in my jsp. Neither here nor there are displayed! My first foray into Spring Security 3.0.5. I've used 3.0.3 without issue.

<sec:authorize ifNotGranted="ROLE_ACTIVE">
 ...

3. Spring Security JSF2 Primefaces - Does this tag support EL expression?    stackoverflow.com

Can somebody please help me in tacking to an EL expression. I am reading the an xml tag from the response xml.This tag gives me the information about the Role ...

4. Spring tags don't work in JSF xhtml files    stackoverflow.com

I am new to JSF and Spring. I am trying to use Spring Security with JSF. I have designed an XHTML page as below:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html ...

5. How to set up basic auth in spring security without the HTTP tag?    stackoverflow.com

I'm setting up REST services that requires simple Basic Auth on top of an existing application. The thing is that the security context already has a http tag from the actual ...

6. How to use mvc:resources tag    stackoverflow.com

I am using Spring Security 3. I have files unders /js, /css and /img folders and imports them HTML files. I want to serve them with mvc:resource because I can add ...

7. Spring mvc:resources access to outside folder    stackoverflow.com

I have stored medias (pictures and movies) in a folder (for example C:\test\tes.png) and I'm trying to access to pictures with an url like : http://localhost:8080/app/picture/test.png. To do that, i ...

8. Spring security tag    forum.springsource.org

Hi I would like to know how to use the security tag lib in web application for negative test. I would like to perform an if..else..endif I only see ...

9. Do the and tag also provide beans?    forum.springsource.org

Do the and tag also provide beans? Hi all, As there are these tags and Can I also inject them somewhere in my code? As I'm getting ...





10. Spring's form tag library -access to nested properties    forum.springsource.org

Spring's form tag library -access to nested properties The problem in a nutshell: I have following beans class Registration { String details; List userList; . . //+ getters and setters } ...

11. Question on "URL access checks in 'authorize' tags"    forum.springsource.org

Question on "URL access checks in 'authorize' tags" I am using expression true to enable Expression-Based Access Control In my JSP page ---show setup page-- ...

12. Spring Security authorize tag    forum.springsource.org

Spring Security authorize tag I have Spring Security working for Spring MVC and here is the case which I have come across and finding for resolution: My Home page is like ...

13. Spring Security Tags Issue    forum.springsource.org

Sep 15th, 2011, 06:19 AM #1 sweta View Profile View Forum Posts Private Message Junior Member Join Date Jul 2009 Posts 17 Spring Security Tags Issue Hi, I am new to ...

14. security tag library when used with JSF 2.0+facelet    forum.springsource.org

Hi, I get the following warnings when render the JSF pages: Warning: This page calls for XML namespace http://www.springframework.org/schema/security declared with prefix security but no taglibrary exists for that namespace. Warning: ...

15. spring form:input tag doesn't show the datat when user enters in mozilla firefox    forum.springsource.org

spring form:input tag doesn't show the datat when user enters in mozilla firefox when I use this spring input tag and spring javascript the data entered in the text box does ...

16. spring form:input tag doesn't show the data when user enters in mozilla firefox    forum.springsource.org

spring form:input tag doesn't show the data when user enters in mozilla firefox when I use this spring input tag and spring javascript the data entered in the text box does ...





17. ACEGI Tag libraries and Java-1.3.1 (ibm)    forum.springsource.org

I'm running ibm Java-1-3.1, Tomcat 4.1.31, ACEGI 0.8.2. My Target server is IBM WebSphere 5.0.0, running the same JVM. If I include authz tags in a jsp I get an exception. ...

18. Authentication tag problem with subclass of User    forum.springsource.org

Dec 1st, 2005, 09:22 AM #1 pino_otto View Profile View Forum Posts Private Message Junior Member Join Date Oct 2005 Posts 18 Authentication tag problem with subclass of User Hello, I'm ...

19. Authentication Tag problems    forum.springsource.org

Authentication Tag problems hi, only seems to work with the User object (implemening userdetails) properties. But if a nested object exists then can we not use the tag to ...

20.  Tag    forum.springsource.org

Tag I am using Acegi 1.0.0 with Spring 1.2.7 and hit an issue with the 'authz:authorize' tag. Specifically I have a jsp with a conditional block of html that ...

21. How to access resources from within tag file using spring:message tag    forum.springsource.org

How to access resources from within tag file using spring:message tag Hi guys! I have created a JSP 2 tag file that displays some text. I need to localize it. I ...

22. Access to objects in model via custom tags    forum.springsource.org

Access to objects in model via custom tags Hello, I am trying to write some custom jsp tags for my application, but I can't figure out how to access objects that ...

23.  and tags are not rendered    forum.springsource.org

Feb 21st, 2008, 10:30 PM #1 zacao View Profile View Forum Posts Private Message Junior Member Join Date Feb 2008 Posts 2 and tags are not rendered Hi all, ...

24. Problems with password tags    forum.springsource.org

I'm doing a user administration, and it works fine. But when we load a user information, the password is empty, but the bean has value for this input. If i change ...

25. Does the security:accesscontrollist tag perform any bitmasking?    forum.springsource.org

Does the security:accesscontrollist tag perform any bitmasking? I'm using the 2.0.2 release of Acegi/Spring Security. I'm trying to use the accesscontrollist tag and I'm seeing some behavior I didn't expect. I ...

26. authentication tag without being auth generates HTTP 500 error    forum.springsource.org

authentication tag without being auth generates HTTP 500 error Hi, I was trying the following sample at Dzone to store my URL protection definition in a DB. java.dzone.com/tips/pathway-acegi-spring-security- Currently I have ...

27. security:authorize tag and decision voters    forum.springsource.org

security:authorize tag and decision voters I would like to use some spring security tags in my jsps to conditionally present a user with links to various action on an object. I ...

28. Security:authentication Tag Problem    forum.springsource.org

Security:authentication Tag Problem Hello, I receive a stack trace whenever my JSP pages try to use the authentication tag. Here is a simple example: <%@ taglib uri="http://www.springframework.org/security/tags" prefix="security" %>

29. Spring security tag and Freemarker    forum.springsource.org

Hi joshr, I did it your way but I"m getting this error Code: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is freemarker.core.InvalidReferenceException: Error on line 5, column 1 in /cars/car-detail.ftl JspTaglibs["http://www.springframework.org/security/tags"] is ...

30. spring security tags with freemarker and IE    forum.springsource.org

spring security tags with freemarker and IE I am a newbie to spring security. I am developing a spring mvc app using freemarker for views and spring security. Spring security is ...

31. Spring Security tag documentation?    forum.springsource.org

32. Spring Security Tag Lib Not working as expected    forum.springsource.org

Spring Security Tag Lib Not working as expected Hi all, I'm using Spring Security 2.0.4 and have been trying to adapt the spring security ldap sample tutorial to my own project. ...

33. Security tag lib problem - authorization does not work    forum.springsource.org

Security tag lib problem - authorization does not work Hi, I have succesfully implemented Spring Security (2.0.5) authentication. However, when trying to implement authorization in a JSF page, this does not ...

34. Sec tag libs and authentication object    forum.springsource.org

Hi, A. Is there any way to get true/false base on roles? I am trying to use spring security taglibs to enable/disable components. (I can hide/show using

35. Authorization Tag Library question    forum.springsource.org

Authorization Tag Library question Hi guys, In my app I have a form login for authentication in the header of all my app pages. I must show de form when the ...

36. security:authorize tags not working    forum.springsource.org

Nov 25th, 2009, 02:31 PM #1 auditty View Profile View Forum Posts Private Message Junior Member Join Date May 2009 Location Philadelphia Posts 23 security:authorize tags not working In my roo-generated ...

37. Spring Security tags does not work    forum.springsource.org

Dec 3rd, 2009, 11:40 AM #1 WooKasZ View Profile View Forum Posts Private Message Junior Member Join Date Dec 2009 Posts 2 Spring Security tags does not work Hello! I have ...

38. Doesn't work tag lib security...    forum.springsource.org

Dec 15th, 2009, 04:46 AM #1 antoito2002 View Profile View Forum Posts Private Message Junior Member Join Date Nov 2008 Posts 5 Doesn't work tag lib security... this is my code: ...

39. Security tags not working?    forum.springsource.org

Dec 29th, 2009, 12:01 PM #1 asarco View Profile View Forum Posts Private Message Member Join Date Aug 2004 Location London, UK Posts 34 Security tags not working? Hello, I've been ...

40. Spring Security Tags on custom 403 error page    forum.springsource.org

41. Javascript files/Ajax Tags (scripts) getting blocked by security setup    forum.springsource.org

Feb 15th, 2010, 11:07 AM #1 pegasus View Profile View Forum Posts Private Message Junior Member Join Date Feb 2010 Posts 4 Javascript files/Ajax Tags (scripts) getting blocked by security setup ...

42. Session Expiry Problem When security:concurrent-session-control tag is used    forum.springsource.org

Jun 17th, 2010, 07:00 AM #1 ajay78 View Profile View Forum Posts Private Message Junior Member Join Date May 2010 Posts 8 Session Expiry Problem When security:concurrent-session-control tag is used Hi, ...

43. global-method-security tag doesn't work    forum.springsource.org

global-method-security tag doesn't work So I have the tag in my spring configuration, but the @Secured annotations don't seem to be doing anything. The controller methods that I am ...

44. password field in spring form tag?    forum.springsource.org

Hi, I tried the following form tag for password, but it is flagged as error tld, what is the workaround for using password field with form:input tag? I tried the following ...

45. accesscontrollist tag and null domainObject Security Hole    forum.springsource.org

Code: if (resolvedDomainObject == null) { 111: if (logger.isDebugEnabled()) { 112: logger 113: .debug("domainObject resolved to null, so including tag body"); 114: } 115: 116: // Of course they have access ...

46. How to access PropertyPlaceholder value in tag library    forum.springsource.org

I'm loading properties using a PropertyPlaceholderConfigurer in my webapp. Now I like to access/use one of these properties in a tag library. What's the easiest way to do this?