@ -19,6 +19,8 @@
<import resource= "data-context.xml" />
<!-- Begin Spring Security configuration -->
<security:global-method-security pre-post-annotations= "enabled" proxy-target-class= "true" authentication-manager-ref= "springSecurityAuthenticationManager" />
<http pattern= "/oauth/token" create-session= "stateless" authentication-manager-ref= "clientAuthenticationManager"
@ -79,6 +81,8 @@
</security:authentication-provider>
</security:authentication-manager>
<!-- End Spring Security configuration -->
<tx:annotation-driven transaction-manager= "transactionManager" />
<bean id= "jpaAdapter" class= "org.springframework.orm.jpa.vendor.EclipseLinkJpaVendorAdapter" >
@ -117,9 +121,6 @@
</property>
</bean>
<!-- TODO: working remove red X's see: http://forum.springsource.org/showthread.php?123193 - STS - not - respecting - META - INF - spring - schemas - for - validation&p=401926#post401926 -->
<bean id= "defaultKeystore" class= "org.mitre.jwt.signer.service.impl.KeyStore" >
<constructor-arg name= "location" value= "classpath:keystore.jks" />
<constructor-arg name= "password" value= "changeit" />
@ -146,14 +147,6 @@
</property>
</bean>
<!-- <jwt - signer:keystore id="defaultKeystore" location="classpath:keystore.jks" password="changeit" /> -->
<!-- <jwt - signer:service id="defaultSignerService"> -->
<!-- <jwt - signer:rsa bits="256" keystore - ref="defaultKeystore" key - alias="rsa" password="changeit" /> -->
<!-- <jwt - signer:hmac bits="256" passphrase="changeit" /> -->
<!-- </jwt - signer:service> -->
<!-- scheduled tasks -->
<!-- <task:scheduler id="taskScheduler" pool - size="10" /> -->
<!-- <task:executor id="taskExecutor" pool - size="5" /> -->