Home / CSE MCQs / Spring MCQs :: Spring Security, Integrating with Web Frameworks

CSE MCQs :: Spring MCQs

  1. Class used to have full access to the Spring context's life cycle machinery and dependency injection.
  2. A.
    DelegatingFilterProxy
    B.
    WebApplicationContextUtils.getRequiredWeb()
    C.
    WebApplicationUtils.getRequiredWebApplicationContext()
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Element used to specify access attributes for bean's methods.
  4. A.
    security:protect
    B.
    security:intercept
    C.
    security:intercept-security
    D.
    none of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Stated related to Spring Web flows
  6. A.
    view
    B.
    action
    C.
    decision
    D.
    all of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. To enable Spring security for web flows.
  8. A.
    SecurityFlowExecutionListener
    B.
    SecurityFlowExecution
    C.
    FlowSecurity
    D.
    SecurityFlowListener

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Which attribute is used to access security element od web flow.
  10. A.
    attribute
    B.
    attributes-security
    C.
    attributes
    D.
    none of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. To load root application context at the start up.
  12. A.
    ContextListener
    B.
    ContextLoader
    C.
    ContextLoaderListener
    D.
    ContextEventListener

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Remember-me support can be configured by:-
  14. A.
    remember-me
    B.
    remember-me
    C.
    remember-basic
    D.
    none of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Connection of database with Apache derby server requires.
  16. A.
    Derby client.jar
    B.
    Spring JDBC support
    C.
    None of the mentioned
    D.
    All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. ActionSupport class provides a method to access spring's application context.
  18. A.
    getWebApplicationContext()
    B.
    getWebApplication()
    C.
    getApplicationContext()
    D.
    contextEventListener()

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Attribute used to specify custom access decision manager.
  20. A.
    access-decision-manager-ref
    B.
    access-decision-ref
    C.
    access-decision
    D.
    none of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum