Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 18:55:30.539 [1768305536@qtp-1598924227-0] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/v1/clients/login'; against '/resources/**'
- 18:55:30.540 [1768305536@qtp-1598924227-0] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/v1/clients/login'; against '/favicon.ico'
- 18:55:30.540 [1768305536@qtp-1598924227-0] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/v1/clients/login'; against '/403'
- 18:55:30.541 [1768305536@qtp-1598924227-0] DEBUG o.s.security.web.FilterChainProxy - /api/v1/clients/login at position 1 of 11 in additional filter chain; firing Filter: 'WebAsyncManagerIntegrationFilter'
- 18:55:30.542 [1768305536@qtp-1598924227-0] DEBUG o.s.security.web.FilterChainProxy - /api/v1/clients/login at position 2 of 11 in additional filter chain; firing Filter: 'SecurityContextPersistenceFilter'
- 18:55:30.544 [1768305536@qtp-1598924227-0] DEBUG o.s.security.web.FilterChainProxy - /api/v1/clients/login at position 3 of 11 in additional filter chain; firing Filter: 'HeaderWriterFilter'
- 18:55:30.545 [1768305536@qtp-1598924227-0] DEBUG o.s.s.w.h.writers.HstsHeaderWriter - Not injecting HSTS header since it did not match the requestMatcher org.springframework.security.web.header.writers.HstsHeaderWriter$SecureRequestMatcher@5ef9b3b1
- 18:55:30.545 [1768305536@qtp-1598924227-0] DEBUG o.s.security.web.FilterChainProxy - /api/v1/clients/login at position 4 of 11 in additional filter chain; firing Filter: 'LogoutFilter'
- 18:55:30.545 [1768305536@qtp-1598924227-0] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/v1/clients/login'; against '/logout'
- 18:55:30.545 [1768305536@qtp-1598924227-0] DEBUG o.s.security.web.FilterChainProxy - /api/v1/clients/login at position 5 of 11 in additional filter chain; firing Filter: 'StatelessAuthenticationFilter'
- 18:55:30.545 [1768305536@qtp-1598924227-0] DEBUG o.s.security.web.FilterChainProxy - /api/v1/clients/login at position 6 of 11 in additional filter chain; firing Filter: 'RequestCacheAwareFilter'
- 18:55:30.545 [1768305536@qtp-1598924227-0] DEBUG o.s.security.web.FilterChainProxy - /api/v1/clients/login at position 7 of 11 in additional filter chain; firing Filter: 'SecurityContextHolderAwareRequestFilter'
- 18:55:30.546 [1768305536@qtp-1598924227-0] DEBUG o.s.security.web.FilterChainProxy - /api/v1/clients/login at position 8 of 11 in additional filter chain; firing Filter: 'AnonymousAuthenticationFilter'
- 18:55:30.548 [1768305536@qtp-1598924227-0] DEBUG o.s.s.w.a.AnonymousAuthenticationFilter - Populated SecurityContextHolder with anonymous token: 'org.springframework.security.authentication.AnonymousAuthenticationToken@9055c2bc: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@b364: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS'
- 18:55:30.548 [1768305536@qtp-1598924227-0] DEBUG o.s.security.web.FilterChainProxy - /api/v1/clients/login at position 9 of 11 in additional filter chain; firing Filter: 'SessionManagementFilter'
- 18:55:30.548 [1768305536@qtp-1598924227-0] DEBUG o.s.security.web.FilterChainProxy - /api/v1/clients/login at position 10 of 11 in additional filter chain; firing Filter: 'ExceptionTranslationFilter'
- 18:55:30.548 [1768305536@qtp-1598924227-0] DEBUG o.s.security.web.FilterChainProxy - /api/v1/clients/login at position 11 of 11 in additional filter chain; firing Filter: 'FilterSecurityInterceptor'
- 18:55:30.549 [1768305536@qtp-1598924227-0] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/v1/clients/login'; against '/api/**'
- 18:55:30.549 [1768305536@qtp-1598924227-0] DEBUG o.s.s.w.a.i.FilterSecurityInterceptor - Secure object: FilterInvocation: URL: /api/v1/clients/login; Attributes: [permitAll]
- 18:55:30.549 [1768305536@qtp-1598924227-0] DEBUG o.s.s.w.a.i.FilterSecurityInterceptor - Previously Authenticated: org.springframework.security.authentication.AnonymousAuthenticationToken@9055c2bc: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@b364: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS
- 18:55:30.557 [1768305536@qtp-1598924227-0] DEBUG o.s.s.access.vote.AffirmativeBased - Voter: org.springframework.security.web.access.expression.WebExpressionVoter@2ecb99c7, returned: 1
- 18:55:30.557 [1768305536@qtp-1598924227-0] DEBUG o.s.s.w.a.i.FilterSecurityInterceptor - Authorization successful
- 18:55:30.557 [1768305536@qtp-1598924227-0] DEBUG o.s.s.w.a.i.FilterSecurityInterceptor - RunAsManager did not change Authentication object
- 18:55:30.557 [1768305536@qtp-1598924227-0] DEBUG o.s.security.web.FilterChainProxy - /api/v1/clients/login reached end of additional filter chain; proceeding with original chain
- 18:55:30.612 [1768305536@qtp-1598924227-0] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'clientController'
- 18:55:30.683 [1768305536@qtp-1598924227-0] DEBUG o.s.t.a.AnnotationTransactionAttributeSource - Adding transactional method 'ClientServiceImpl.findByUsername' with attribute: PROPAGATION_REQUIRED,ISOLATION_DEFAULT; ''
- 18:55:30.685 [1768305536@qtp-1598924227-0] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'transactionManager'
- 18:55:30.689 [1768305536@qtp-1598924227-0] DEBUG o.s.orm.jpa.JpaTransactionManager - Creating new transaction with name [ar.edu.itba.paw.services.ClientServiceImpl.findByUsername]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT; ''
- 18:55:30.788 [1768305536@qtp-1598924227-0] DEBUG o.h.s.internal.StatisticsInitiator - Statistics initialized [enabled=false]
- 18:55:30.793 [1768305536@qtp-1598924227-0] DEBUG o.s.orm.jpa.JpaTransactionManager - Opened new EntityManager [org.hibernate.jpa.internal.EntityManagerImpl@72efa9c6] for JPA transaction
- 18:55:30.795 [1768305536@qtp-1598924227-0] DEBUG o.h.e.t.internal.TransactionImpl - begin
- 18:55:30.795 [1768305536@qtp-1598924227-0] DEBUG o.s.j.d.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:postgresql://localhost/pawdb]
- 18:55:30.821 [1768305536@qtp-1598924227-0] DEBUG o.s.orm.jpa.JpaTransactionManager - Exposing JPA transaction as JDBC transaction [org.springframework.orm.jpa.vendor.HibernateJpaDialect$HibernateConnectionHandle@1bae6a7d]
- 18:55:30.837 [1768305536@qtp-1598924227-0] DEBUG o.h.h.i.QueryTranslatorFactoryInitiator - QueryTranslatorFactory : org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory@2a8f67c2
- 18:55:30.837 [1768305536@qtp-1598924227-0] INFO o.h.h.i.QueryTranslatorFactoryInitiator - HHH000397: Using ASTQueryTranslatorFactory
- 18:55:30.889 [1768305536@qtp-1598924227-0] DEBUG o.h.h.i.ast.QueryTranslatorImpl - parse() - HQL: from ar.edu.itba.paw.models.Client as u where u.name = :username
- 18:55:30.904 [1768305536@qtp-1598924227-0] DEBUG o.h.h.i.ast.QueryTranslatorImpl - --- HQL AST ---
- \-[QUERY] Node: 'query'
- +-[SELECT_FROM] Node: 'SELECT_FROM'
- | \-[FROM] Node: 'from'
- | \-[RANGE] Node: 'RANGE'
- | +-[DOT] Node: '.'
- | | +-[DOT] Node: '.'
- | | | +-[DOT] Node: '.'
- | | | | +-[DOT] Node: '.'
- | | | | | +-[DOT] Node: '.'
- | | | | | | +-[IDENT] Node: 'ar'
- | | | | | | \-[IDENT] Node: 'edu'
- | | | | | \-[IDENT] Node: 'itba'
- | | | | \-[IDENT] Node: 'paw'
- | | | \-[IDENT] Node: 'models'
- | | \-[IDENT] Node: 'Client'
- | \-[ALIAS] Node: 'u'
- \-[WHERE] Node: 'where'
- \-[EQ] Node: '='
- +-[DOT] Node: '.'
- | +-[IDENT] Node: 'u'
- | \-[IDENT] Node: 'name'
- \-[COLON] Node: ':'
- \-[IDENT] Node: 'username'
- 18:55:30.904 [1768305536@qtp-1598924227-0] DEBUG o.h.hql.internal.ast.ErrorCounter - throwQueryException() : no errors
- 18:55:30.943 [1768305536@qtp-1598924227-0] DEBUG o.h.h.i.antlr.HqlSqlBaseWalker - select << begin [level=1, statement=select]
- 18:55:30.962 [1768305536@qtp-1598924227-0] DEBUG o.h.h.internal.ast.tree.FromElement - FromClause{level=1} : ar.edu.itba.paw.models.Client (u) -> client0_
- 18:55:30.964 [1768305536@qtp-1598924227-0] DEBUG o.h.h.i.ast.tree.FromReferenceNode - Resolved : u -> client0_.client_id
- 18:55:30.966 [1768305536@qtp-1598924227-0] DEBUG o.h.hql.internal.ast.tree.DotNode - getDataType() : name -> org.hibernate.type.StringType@426b6a74
- 18:55:30.967 [1768305536@qtp-1598924227-0] DEBUG o.h.h.i.ast.tree.FromReferenceNode - Resolved : u.name -> client0_.username
- 18:55:30.971 [1768305536@qtp-1598924227-0] DEBUG o.h.h.i.antlr.HqlSqlBaseWalker - select : finishing up [level=1, statement=select]
- 18:55:30.971 [1768305536@qtp-1598924227-0] DEBUG o.h.hql.internal.ast.HqlSqlWalker - processQuery() : ( SELECT ( FromClause{level=1} clients client0_ ) ( where ( = ( client0_.username client0_.client_id name ) ? ) ) )
- 18:55:30.983 [1768305536@qtp-1598924227-0] DEBUG o.h.hql.internal.ast.HqlSqlWalker - Derived SELECT clause created.
- 18:55:30.991 [1768305536@qtp-1598924227-0] DEBUG o.h.h.i.ast.util.JoinProcessor - Using FROM fragment [clients client0_]
- 18:55:30.991 [1768305536@qtp-1598924227-0] DEBUG o.h.h.i.antlr.HqlSqlBaseWalker - select >> end [level=1, statement=select]
- 18:55:30.992 [1768305536@qtp-1598924227-0] DEBUG o.h.h.i.ast.QueryTranslatorImpl - --- SQL AST ---
- \-[SELECT] QueryNode: 'SELECT' querySpaces (clients)
- +-[SELECT_CLAUSE] SelectClause: '{derived select clause}'
- | +-[SELECT_EXPR] SelectExpressionImpl: 'client0_.client_id as client_i1_0_' {FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=u,role=null,tableName=clients,tableAlias=client0_,origin=null,columns={,className=ar.edu.itba.paw.models.Client}}}
- | \-[SQL_TOKEN] SqlFragment: 'client0_.email as email2_0_, client0_.username as username3_0_, client0_.password as password4_0_, client0_.program_id as program_8_0_, client0_.recovery_question as recovery5_0_, client0_.role as role6_0_, client0_.secret_answer as secret_a7_0_, client0_.university_id as universi9_0_'
- +-[FROM] FromClause: 'from' FromClause{level=1, fromElementCounter=1, fromElements=1, fromElementByClassAlias=[u], fromElementByTableAlias=[client0_], fromElementsByPath=[], collectionJoinFromElementsByPath=[], impliedElements=[]}
- | \-[FROM_FRAGMENT] FromElement: 'clients client0_' FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=u,role=null,tableName=clients,tableAlias=client0_,origin=null,columns={,className=ar.edu.itba.paw.models.Client}}
- \-[WHERE] SqlNode: 'where'
- \-[EQ] BinaryLogicOperatorNode: '='
- +-[DOT] DotNode: 'client0_.username' {propertyName=name,dereferenceType=PRIMITIVE,getPropertyPath=name,path=u.name,tableAlias=client0_,className=ar.edu.itba.paw.models.Client,classAlias=u}
- | +-[ALIAS_REF] IdentNode: 'client0_.client_id' {alias=u, className=ar.edu.itba.paw.models.Client, tableAlias=client0_}
- | \-[IDENT] IdentNode: 'name' {originalText=name}
- \-[NAMED_PARAM] ParameterNode: '?' {name=username, expectedType=org.hibernate.type.StringType@426b6a74}
- 18:55:30.992 [1768305536@qtp-1598924227-0] DEBUG o.h.hql.internal.ast.ErrorCounter - throwQueryException() : no errors
- 18:55:31.001 [1768305536@qtp-1598924227-0] DEBUG o.h.h.i.ast.QueryTranslatorImpl - HQL: from ar.edu.itba.paw.models.Client as u where u.name = :username
- 18:55:31.001 [1768305536@qtp-1598924227-0] DEBUG o.h.h.i.ast.QueryTranslatorImpl - SQL: select client0_.client_id as client_i1_0_, client0_.email as email2_0_, client0_.username as username3_0_, client0_.password as password4_0_, client0_.program_id as program_8_0_, client0_.recovery_question as recovery5_0_, client0_.role as role6_0_, client0_.secret_answer as secret_a7_0_, client0_.university_id as universi9_0_ from clients client0_ where client0_.username=?
- 18:55:31.001 [1768305536@qtp-1598924227-0] DEBUG o.h.hql.internal.ast.ErrorCounter - throwQueryException() : no errors
- 18:55:31.037 [1768305536@qtp-1598924227-0] DEBUG org.hibernate.SQL - select client0_.client_id as client_i1_0_, client0_.email as email2_0_, client0_.username as username3_0_, client0_.password as password4_0_, client0_.program_id as program_8_0_, client0_.recovery_question as recovery5_0_, client0_.role as role6_0_, client0_.secret_answer as secret_a7_0_, client0_.university_id as universi9_0_ from clients client0_ where client0_.username=?
- Hibernate: select client0_.client_id as client_i1_0_, client0_.email as email2_0_, client0_.username as username3_0_, client0_.password as password4_0_, client0_.program_id as program_8_0_, client0_.recovery_question as recovery5_0_, client0_.role as role6_0_, client0_.secret_answer as secret_a7_0_, client0_.university_id as universi9_0_ from clients client0_ where client0_.username=?
- 18:55:31.046 [1768305536@qtp-1598924227-0] DEBUG o.s.orm.jpa.JpaTransactionManager - Initiating transaction commit
- 18:55:31.047 [1768305536@qtp-1598924227-0] DEBUG o.s.orm.jpa.JpaTransactionManager - Committing JPA transaction on EntityManager [org.hibernate.jpa.internal.EntityManagerImpl@72efa9c6]
- 18:55:31.047 [1768305536@qtp-1598924227-0] DEBUG o.h.e.t.internal.TransactionImpl - committing
- 18:55:31.047 [1768305536@qtp-1598924227-0] DEBUG o.s.orm.jpa.JpaTransactionManager - Closing JPA EntityManager [org.hibernate.jpa.internal.EntityManagerImpl@72efa9c6] after transaction
- 18:55:31.047 [1768305536@qtp-1598924227-0] DEBUG o.s.o.jpa.EntityManagerFactoryUtils - Closing JPA EntityManager
- 18:55:32.202 [1768305536@qtp-1598924227-0] DEBUG o.s.s.w.a.ExceptionTranslationFilter - Chain processed normally
- 18:55:32.203 [1768305536@qtp-1598924227-0] DEBUG o.s.s.w.c.SecurityContextPersistenceFilter - SecurityContextHolder now cleared, as request processing completed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement