Class DefaultMessageSecurityMetadataSource

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.util.Collection<ConfigAttribute> getAllConfigAttributes()
      Deprecated.
      If available, returns all of the ConfigAttributes defined by the implementing class.
      java.util.Collection<ConfigAttribute> getAttributes​(java.lang.Object object)
      Deprecated.
      Accesses the ConfigAttributes that apply to a given secure object.
      boolean supports​(java.lang.Class<?> clazz)
      Deprecated.
      Indicates whether the SecurityMetadataSource implementation is able to provide ConfigAttributes for the indicated secure object type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultMessageSecurityMetadataSource

        public DefaultMessageSecurityMetadataSource​(java.util.LinkedHashMap<MessageMatcher<?>,​java.util.Collection<ConfigAttribute>> messageMap)
        Deprecated.
    • Method Detail

      • getAttributes

        public java.util.Collection<ConfigAttribute> getAttributes​(java.lang.Object object)
                                                            throws java.lang.IllegalArgumentException
        Deprecated.
        Description copied from interface: SecurityMetadataSource
        Accesses the ConfigAttributes that apply to a given secure object.
        Specified by:
        getAttributes in interface SecurityMetadataSource
        Parameters:
        object - the object being secured
        Returns:
        the attributes that apply to the passed in secured object. Should return an empty collection if there are no applicable attributes.
        Throws:
        java.lang.IllegalArgumentException - if the passed object is not of a type supported by the SecurityMetadataSource implementation
      • supports

        public boolean supports​(java.lang.Class<?> clazz)
        Deprecated.
        Description copied from interface: SecurityMetadataSource
        Indicates whether the SecurityMetadataSource implementation is able to provide ConfigAttributes for the indicated secure object type.
        Specified by:
        supports in interface SecurityMetadataSource
        Parameters:
        clazz - the class that is being queried
        Returns:
        true if the implementation can process the indicated class