Permalink
Browse files

Removed autowired for AuthenticationService.

  • Loading branch information...
1 parent ad8f76c commit ba5cb166810954b441dde53c09e5098fca1dea18 Rishabh Rao committed Dec 14, 2012
@@ -9,7 +9,6 @@
@Service(value = "authenticationService")
public class AuthenticationServiceImpl implements AuthenticationService {
- @Autowired
private AuthenticationManager authenticationManager;
@Override
@@ -1,8 +1,8 @@
-log4j.rootLogger=debug,sysout
-
-# sysout log configuration
-log4j.appender.sysout=org.apache.log4j.ConsoleAppender
-log4j.appender.sysout.Target=System.out
-log4j.appender.sysout.Threshold=debug
-log4j.appender.sysout.layout=org.apache.log4j.PatternLayout
-log4j.appender.sysout.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss} %5p (%F:%L) - %m%n
+log4j.rootLogger=debug,sysout
+
+# sysout log configuration
+log4j.appender.sysout=org.apache.log4j.ConsoleAppender
+log4j.appender.sysout.Target=System.out
+log4j.appender.sysout.Threshold=debug
+log4j.appender.sysout.layout=org.apache.log4j.PatternLayout
+log4j.appender.sysout.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss} %5p (%F:%L) - %m%n
@@ -1,58 +1,58 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
- xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"
- xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:p="http://www.springframework.org/schema/p"
- xsi:schemaLocation="http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
- http://www.springframework.org/schema/context
- http://www.springframework.org/schema/context/spring-context-3.0.xsd
- http://www.springframework.org/schema/tx
- http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
- http://www.springframework.org/schema/aop
- http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
- http://www.springframework.org/schema/mvc
- http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">
-
- <bean
- class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
- <property name="location" value="classpath:properties/jdbc.properties" />
- </bean>
-
- <!-- Data Source Declaration -->
- <bean id="dataSource"
- class="org.springframework.jdbc.datasource.DriverManagerDataSource"
- p:driverClassName="${jdbc.driver.class}" p:url="${jdbc.url}"
- p:password="${jdbc.user.password}" p:username="${jdbc.user.name}">
- </bean>
-
- <!-- Session Factory Declaration -->
- <bean id="SessionFactory"
- class="org.springframework.orm.hibernate4.LocalSessionFactoryBean"
- p:dataSource-ref="dataSource">
- <property name="annotatedClasses">
- <list>
- <value>oss.process.scrum.dao.vo.ScrOrganization</value>
- </list>
- </property>
- <property name="hibernateProperties">
- <props>
- <prop key="hibernate.dialect">${hibernate.dialect}</prop>
- <prop key="hibernate.show_sql">${hibernate.show.sql}</prop>
- </props>
- </property>
- </bean>
-
- <!-- Activates annotation-based bean configuration -->
- <context:annotation-config />
- <context:component-scan base-package="oss" />
-
- <!-- Enable the configuration of transactional behavior based on annotations -->
- <tx:annotation-driven transaction-manager="txManager" />
-
- <!-- Transaction Manager is defined -->
- <bean id="txManager"
- class="org.springframework.orm.hibernate4.HibernateTransactionManager">
- <property name="sessionFactory" ref="SessionFactory" />
- </bean>
-</beans>
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
+ xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"
+ xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:p="http://www.springframework.org/schema/p"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
+ http://www.springframework.org/schema/context
+ http://www.springframework.org/schema/context/spring-context-3.0.xsd
+ http://www.springframework.org/schema/tx
+ http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
+ http://www.springframework.org/schema/aop
+ http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
+ http://www.springframework.org/schema/mvc
+ http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">
+
+ <bean
+ class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
+ <property name="location" value="classpath:properties/jdbc.properties" />
+ </bean>
+
+ <!-- Data Source Declaration -->
+ <bean id="dataSource"
+ class="org.springframework.jdbc.datasource.DriverManagerDataSource"
+ p:driverClassName="${jdbc.driver.class}" p:url="${jdbc.url}"
+ p:password="${jdbc.user.password}" p:username="${jdbc.user.name}">
+ </bean>
+
+ <!-- Session Factory Declaration -->
+ <bean id="SessionFactory"
+ class="org.springframework.orm.hibernate4.LocalSessionFactoryBean"
+ p:dataSource-ref="dataSource">
+ <property name="annotatedClasses">
+ <list>
+ <value>oss.process.scrum.dao.vo.ScrOrganization</value>
+ </list>
+ </property>
+ <property name="hibernateProperties">
+ <props>
+ <prop key="hibernate.dialect">${hibernate.dialect}</prop>
+ <prop key="hibernate.show_sql">${hibernate.show.sql}</prop>
+ </props>
+ </property>
+ </bean>
+
+ <!-- Activates annotation-based bean configuration -->
+ <context:annotation-config />
+ <context:component-scan base-package="oss" />
+
+ <!-- Enable the configuration of transactional behavior based on annotations -->
+ <tx:annotation-driven transaction-manager="txManager" />
+
+ <!-- Transaction Manager is defined -->
+ <bean id="txManager"
+ class="org.springframework.orm.hibernate4.HibernateTransactionManager">
+ <property name="sessionFactory" ref="SessionFactory" />
+ </bean>
+</beans>
@@ -1,16 +1,16 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:p="http://primefaces.org/ui">
-
-<h:head>
- <title>Welcome to OSS Scrum</title>
-</h:head>
-<body>
- <f:view>
- <h:form>
- <h:outputText value="Transaction Error has occurred!"></h:outputText>
- </h:form>
- </f:view>
-</body>
-</html>
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:p="http://primefaces.org/ui">
+
+ <h:head>
+ <title>Welcome to OSS Scrum</title>
+ </h:head>
+ <body>
+ <f:view>
+ <h:form>
+ <h:outputText value="Transaction Error has occurred!"></h:outputText>
+ </h:form>
+ </f:view>
+ </body>
+</html>
@@ -1,16 +1,16 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:p="http://primefaces.org/ui">
-<h:head>
- <title>Welcome to OSS Scrum</title>
-</h:head>
-<h:body>
- <f:view>
- <h:form>
- <h:outputText value="Successfully Saved!"></h:outputText>
- </h:form>
- </f:view>
-</h:body>
-
-</html>
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:p="http://primefaces.org/ui">
+ <h:head>
+ <title>Welcome to OSS Scrum</title>
+ </h:head>
+ <h:body>
+ <f:view>
+ <h:form>
+ <h:outputText value="Successfully Saved!"></h:outputText>
+ </h:form>
+ </f:view>
+ </h:body>
+
+</html>

0 comments on commit ba5cb16

Please sign in to comment.