Class ChannelSecurityMetadataSource

java.lang.Object
org.springframework.integration.security.channel.ChannelSecurityMetadataSource
All Implemented Interfaces:
org.springframework.aop.framework.AopInfrastructureBean, org.springframework.security.access.SecurityMetadataSource

@Deprecated(since="6.0") public class ChannelSecurityMetadataSource extends Object implements org.springframework.security.access.SecurityMetadataSource
Deprecated.
since 6.0 in favor of literally new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole())
The SecurityMetadataSource implementation for secured MessageChannels.
  • Constructor Details

    • ChannelSecurityMetadataSource

      public ChannelSecurityMetadataSource()
      Deprecated.
    • ChannelSecurityMetadataSource

      public ChannelSecurityMetadataSource(Map<Pattern,ChannelAccessPolicy> patternMappings)
      Deprecated.
  • Method Details

    • addPatternMapping

      public void addPatternMapping(Pattern pattern, ChannelAccessPolicy accessPolicy)
      Deprecated.
    • getPatterns

      public Set<Pattern> getPatterns()
      Deprecated.
    • getAttributes

      public Collection<org.springframework.security.access.ConfigAttribute> getAttributes(Object object) throws IllegalArgumentException
      Deprecated.
      Specified by:
      getAttributes in interface org.springframework.security.access.SecurityMetadataSource
      Throws:
      IllegalArgumentException
    • getAllConfigAttributes

      public Collection<org.springframework.security.access.ConfigAttribute> getAllConfigAttributes()
      Deprecated.
      Specified by:
      getAllConfigAttributes in interface org.springframework.security.access.SecurityMetadataSource
    • supports

      public boolean supports(Class<?> clazz)
      Deprecated.
      Specified by:
      supports in interface org.springframework.security.access.SecurityMetadataSource