Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8133795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T09:45:03+00:00 2026-06-06T09:45:03+00:00

In my Spring 3.1 application, I sometime need to change the default behavior of

  • 0

In my Spring 3.1 application, I sometime need to change the default behavior of some of the Spring namespaces in my context files. To do that, I create custom classes that implement some interfaces or that extend the default classes Spring uses.

But I find it hard to know exactly what are those classes that Spring uses behind its namespaces! What is the steps required to find them?

For example, the security namespace :

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:sec="http://www.springframework.org/schema/security"
       xsi:schemaLocation="http://www.springframework.org/schema/beans 
                           http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
                           http://www.springframework.org/schema/security 
                           http://www.springframework.org/schema/security/spring-security-3.1.xsd">

and something like :

<sec:http>
    ...
    <sec:logout />
</sec:http>

How do I find what classes are used by the “<sec:logout />” namespace? I don’t find the information by looking at http://www.springframework.org/schema/security/spring-security-3.1.xsd !

Where should I look?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T09:45:06+00:00Added an answer on June 6, 2026 at 9:45 am

    Every Spring namespace has an associated NamespaceHandler implementation. The namespace schemas are mapped to schema files inside Spring JARs in various spring.schemas files (see also Spring DI applicationContext.xml how exactly is xsi:schemaLocation used?).

    The XML schema namespaces are also mapped to handler classes in spring.handlers files (several as each Spring JAR might introduce different namespaces). For your convenience here is a list of most common namespaces:

    Spring core

    • aop – AopNamespaceHandler
    • c – SimpleConstructorNamespaceHandler
    • cache – CacheNamespaceHandler
    • context – ContextNamespaceHandler
    • jdbc – JdbcNamespaceHandler
    • jee – JeeNamespaceHandler
    • jms – JmsNamespaceHandler
    • lang – LangNamespaceHandler
    • mvc – MvcNamespaceHandler
    • oxm – OxmNamespaceHandler
    • p – SimplePropertyNamespaceHandler
    • task – TaskNamespaceHandler
    • tx – TxNamespaceHandler
    • util – UtilNamespaceHandler

    Spring Security

    • security – SecurityNamespaceHandler
    • oauth – OAuthSecurityNamespaceHandler

    Spring integration

    • int – IntegrationNamespaceHandler
    • amqp – AmqpNamespaceHandler
    • event – EventNamespaceHandler
    • feed – FeedNamespaceHandler
    • file – FileNamespaceHandler
    • ftp – FtpNamespaceHandler
    • gemfire – GemfireIntegrationNamespaceHandler
    • groovy – GroovyNamespaceHandler
    • http – HttpNamespaceHandler
    • ip – IpNamespaceHandler
    • jdbc – JdbcNamespaceHandler
    • jms – JmsNamespaceHandler
    • jmx – JmxNamespaceHandler
    • mail – MailNamespaceHandler
    • redis – RedisNamespaceHandler
    • rmi – RmiNamespaceHandler
    • script – ScriptNamespaceHandler
    • security – IntegrationSecurityNamespaceHandler
    • sftp – SftpNamespaceHandler
    • stream – StreamNamespaceHandler
    • twitter – TwitterNamespaceHandler
    • ws – WsNamespaceHandler
    • xml – IntegrationXmlNamespaceHandler
    • xmpp – XmppNamespaceHandler

    If you browse to the source of each of these classes you will quickly discover various BeanDefinitionParser implementations responsible for parsing actual XML definitions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Spring application that I believe has some bottlenecks, so I'd like
I have a spring application that uses an embedded Jetty instance. Since I am
I'm developing a spring application that uses large MySQL tables. When loading large tables,
I wrote an application that runs some threads using ExecutorService and waits until they
I'm having the following problem. I created a application context file for spring.net. The
In my Java spring application I have a form with Region drop down. On
On my MVC spring application I send a form to a page using post
I develop a simple Spring application which is my university task. There are 3
I have developed a spring application, I want to configure it with apache log4j,
In our Spring application we use clustered Hibernate Search with ActiveMQ which sets up

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.