All Downloads are FREE. Search and download functionalities are using the official Maven repository.

play-mods.spring.oauth2.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:security="http://www.springframework.org/schema/security"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                           http://www.springframework.org/schema/beans/spring-beans.xsd
                           http://www.springframework.org/schema/context
                           http://www.springframework.org/schema/context/spring-context.xsd
                           http://www.springframework.org/schema/security
                           http://www.springframework.org/schema/security/spring-security.xsd">

  <context:component-scan base-package="me.tfeng.playmods.oauth2" />

  <security:global-method-security pre-post-annotations="enabled">
    <security:expression-handler ref="play-mods.oauth2.expression-handler" />
  </security:global-method-security>

  <bean id="play-mods.oauth2.expression-handler"
        class="org.springframework.security.oauth2.provider.expression.OAuth2MethodSecurityExpressionHandler">
  </bean>

</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy