Changes to Security Classes in 6.0.1

Changes to Security Classes in JasperReports Server 6.0.1

Wrapper Classes in JasperReports Server 6.0.1

Spring Security 2.0.x Class 3.x External Authentication Wrappers

org.springframework.security.ui.ExceptionTranslationFilter

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.JSExceptionTranslationFilter

org.springframework.security.providers.ProviderManager

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.JSProviderManager

org.springframework.security.ui.AuthenticationDetailsSourceImpl

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.JSAuthenticationDetailsSourceImpl

org.springframework.security.ui.cas.CasProcessingFilterEntryPoint

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.cas.JSCasAuthenticationEntryPoint

org.springframework.security.providers.cas.CasAuthenticationProvider

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.cas.JSCasAuthenticationProvider

org.jasig.cas.client.validation.Cas20ServiceTicketValidator

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.jasig.JSCas20ServiceTicketValidator

org.springframework.security.providers.cas.cache.EhCacheBasedTicketCache

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.JSEhCacheBasedTicketCache

org.springframework.cache.ehcache.EhCacheFactoryBean

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.JSEhCacheFactoryBean

org.springframework.security.userdetails.ldap.LdapUserDetailsService

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.ldap.JSLdapUserDetailsService

org.springframework.security.ldap.search.FilterBasedLdapUserSearch

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.ldap.JSFilterBasedLdapUserSearch

org.springframework.security.ldap.populator.DefaultLdapAuthoritiesPopulator

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.ldap.JSDefaultLdapAuthoritiesPopulator

org.springframework.security.ui.cas.ServiceProperties

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.cas.JSCASServiceProperties

org.springframework.security.providers.ldap.authenticator.BindAuthenticator

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.ldap.JSBindAuthenticator

org.springframework.security.ldap.populator.DefaultLdapAuthoritiesPopulator

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.ldap.JSDefaultLdapAuthoritiesPopulator

org.springframework.security.providers.ldap.LdapAuthenticationProvider

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.ldap.JSLdapAuthenticationProvider

org.springframework.http.client.SimpleClientHttpRequestFactory

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.JSSimpleClientHttpRequestFactory

org.springframework.jdbc.datasource.DriverManagerDataSource

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.jdbc.JSDriverManagerDataSource

org.springframework.security.providers.preauth.PreAuthenticatedAuthenticationProvider

com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.preauth.JSPreAuthenticatedAuthenticationProvider

“Wrapper Classes in JasperReports Server 6.0.1” shows the 2.0.x Spring Security classes. Note that three of the Spring Security classes in the table have moved to different packages:

ExceptionTranslationFilter moved to org.springframework.security.web.access.ExceptionTranslationFilter
ProviderManager moved to

org.springframework.security.authentication.ProviderManager

AuthenticationDetailsSourceImpl moved to

org.springframework.security.authentication.AuthenticationDetailsSourceImpl

Mapping of Spring Classes from 2.0.x to 3.2.5

Spring Security 2.0.x Class Spring Security 3.2 Class

org.springframework.security.context.SecurityContextHolder

org.springframework.security.core.context.SecurityContextHolder

org.springframework.security.Authentication

org.springframework.security.core.Authentication

org.springframework.security.util.FilterChainProxy

org.springframework.security.web.FilterChainProxy

org.springframework.security.providers.anonymous.AnonymousProcessingFilter

org.springframework.security.web.authentication.AnonymousAuthenticationFilter

org.springframework.security.ui.basicauth.BasicProcessingFilter

org.springframework.security.web.authentication.www.BasicAuthenticationFilter

org.springframework.security.ui.basicauth.BasicProcessingFilterEntryPoint

org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint

org.springframework.security.ui.ExceptionTranslationFilter

org.springframework.security.web.access.ExceptionTranslationFilter

org.springframework.security.ui.webapp.AuthenticationProcessingFilterEntryPoint

org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint

org.springframework.security.ui.webapp.AuthenticationProcessingFilter

org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter

org.springframework.security.context.HttpSessionContextIntegrationFilter

org.springframework.security.web.context.SecurityContextPersistenceFilter

org.springframework.security.vote.AffirmativeBased

org.springframework.security.access.vote.AffirmativeBased

org.springframework.security.vote.AuthenticatedVoter

org.springframework.security.access.vote.AuthenticatedVoter

org.springframework.security.intercept.web.FilterSecurityInterceptor

org.springframework.security.web.access.intercept.FilterSecurityInterceptor

com.jaspersoft.jasperserver.api.security.JSSwitchUserProcessingFilter

com.jaspersoft.jasperserver.war.common.JSSwitchUserProcessingFilter

org.springframework.security.acl.basic.AclObjectIdentity

org.springframework.security.acls.model.ObjectIdentity

org.springframework.security.GrantedAuthority

org.springframework.security.core.GrantedAuthority

org.springframework.security.userdetails.User

org.springframework.security.core.userdetails.User

org.springframework.security.core.AuthenticationServiceException

org.springframework.security.authentication.AuthenticationServiceException

org.springframework.security.AuthorizationServiceException

org.springframework.security.access.AuthorizationServiceException

org.springframework.security.providers.UsernamePasswordAuthenticationToken

org.springframework.security.authentication.UsernamePasswordAuthenticationToken

org.springframework.security.core.GrantedAuthorityImpl

org.springframework.security.core.authority.GrantedAuthorityImpl

org.springframework.security.vote.BasicAclEntryVoter

org.springframework.security.acls.AclEntryVoter

org.springframework.security.vote.AccessDecisionVoter

org.springframework.security.access.AccessDecisionVoter

org.springframework.security.acl.AclEntry

org.springframework.security.acls.model.Acl

org.springframework.security.ConfigAttributeDefinition

Collection<org.springframework.security.access.ConfigAttribute>

org.springframework.security.ConfigAttribute

org.springframework.security.access.ConfigAttribute

org.springframework.security.AuthorizationServiceException

org.springframework.security.access.AuthorizationServiceException

org.springframework.security.afterinvocation.AfterInvocationProvider

org.springframework.security.access.AfterInvocationProvider

org.springframework.security.AccessDeniedException

org.springframework.security.access.AccessDeniedException

org.springframework.security.acl.AclManager

org.springframework.security.acls.model.AclService

org.springframework.security.concurrent.SessionRegistry

org.springframework.security.core.session.SessionRegistry

org.springframework.security.concurrent.SessionInformation

org.springframework.security.core.session.SessionInformation

org.springframework.security.SecurityConfig

org.springframework.security.access.SecurityConfig

org.springframework.security.AuthorizationServiceException

org.springframework.security.access.AuthorizationServiceException

org.springframework.security.providers.encoding.PasswordEncoder

org.springframework.security.authentication.encoding.PasswordEncoder

org.springframework.security.ui.WebAuthenticationDetails

org.springframework.security.web.authentication.WebAuthenticationDetails

org.springframework.security.providers.dao.DaoAuthenticationProvider

org.springframework.security.authentication.dao.DaoAuthenticationProvider

org.springframework.security.ui.switchuser.SwitchUserGrantedAuthority

org.springframework.security.web.authentication.switchuser.SwitchUserGrantedAuthority

org.springframework.security.vote.AbstractAclVoter

org.springframework.security.access.vote.AbstractAclVoter

org.springframework.security.providers.anonymous.AnonymousAuthenticationToken

org.springframework.security.authentication.AnonymousAuthenticationToken

org.springframework.security.afterinvocation.AfterInvocationProvider

org.springframework.security.access.AfterInvocationProvider

org.springframework.security.AccessDeniedException

org.springframework.security.access.AccessDeniedException

org.springframework.security.core.AuthenticationManager

org.springframework.security.authentication.AuthenticationManager

org.springframework.security.ui.cas.CasProcessingFilter

org.springframework.security.cas.web.CasAuthenticationFilter

org.springframework.security.ui.rememberme.NullRememberMeServices

org.springframework.security.web.authentication.NullRememberMeServices

org.springframework.security.util.UrlUtils

org.springframework.security.web.util.UrlUtils

org.springframework.security.providers.AuthenticationProvider

org.springframework.security.authentication.AuthenticationProvider

org.springframework.security.userdetails.jdbc.JdbcDaoImpl

org.springframework.security.core.userdetails.jdbc.JdbcDaoImpl

org.springframework.security.BadCredentialsException

org.springframework.security.authentication.BadCredentialsException

org.springframework.security.userdetails.memory.UserAttribute

org.springframework.security.core.userdetails.memory.UserAttribute

org.springframework.security.context.SecurityContext

org.springframework.security.core.context.SecurityContext

org.springframework.security.providers.TestingAuthenticationToken

org.springframework.security.authentication.TestingAuthenticationToken

org.springframework.security.userdetails.ldap.LdapUserDetails

org.springframework.security.ldap.userdetails.LdapUserDetails

org.springframework.security.vote.RoleVoter

org.springframework.security.access.vote.RoleVoter

org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor

org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor

org.springframework.security.vote.UnanimousBased

org.springframework.security.access.vote.UnanimousBased

org.springframework.security.afterinvocation.AfterInvocationProviderManager

org.springframework.security.access.intercept.AfterInvocationProviderManager

org.springframework.security.providers.ProviderManager

org.springframework.security.authentication.ProviderManager

org.springframework.security.ui.AuthenticationDetailsSourceImpl

org.springframework.security.authentication.AuthenticationDetailsSourceImpl

org.springframework.security.afterinvocation.BasicAclEntryAfterInvocationCollectionFilteringProvider

org.springframework.security.acls.afterinvocation.AclEntryAfterInvocationCollectionFilteringProvider

org.springframework.security.userdetails.memory.InMemoryDaoImpl

org.springframework.security.core.userdetails.memory.InMemoryDaoImpl

org.springframework.security.event.authentication.LoggerListener

org.springframework.security.authentication.event.LoggerListener

org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter

org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter

org.springframework.security.afterinvocation.BasicAclEntryAfterInvocationProvider

org.springframework.security.acls.afterinvocation.AclEntryAfterInvocationProvider

org.springframework.security.concurrent.SessionRegistryImpl

org.springframework.security.core.session.SessionRegistryImpl

Feedback