Class SAMLv2AuthContexts

  • All Implemented Interfaces:
    Serializable

    public class SAMLv2AuthContexts
    extends Object
    implements Serializable
    This is collections of authentication contexts. This object can be serialized between view beans forwarding.
    See Also:
    Serialized Form
    • Constructor Detail

      • SAMLv2AuthContexts

        public SAMLv2AuthContexts()
        Default Constructor.
    • Method Detail

      • toSPAuthContextInfo

        public List<String> toSPAuthContextInfo()
      • toIDPAuthContextInfo

        public List<String> toIDPAuthContextInfo()
      • isEmpty

        public boolean isEmpty()
        Returns true if collection is empty.
        Returns:
        true if collection is empty.
      • size

        public int size()
        Returns number of entries in collection.
        Returns:
        number of entries in collection.
      • put

        public void put​(String name,
                        String supported,
                        String level,
                        boolean isDefault)
        Adds SAMLv2AuthContext to the collection
        Parameters:
        name - Name of entry.
        supported - true if this entry is supported.
        level - Level of entry.
        isDefault - true if it is default.
      • put

        public void put​(String name,
                        String supported,
                        String key,
                        String value,
                        String level,
                        boolean isDefault)
        Adds SAMLv2AuthContext to the collection.
        Parameters:
        name - Name of entry.
        supported - true if this entry is supported.
        key - Key of entry.
        value - Value of entry.
        level - Level of entry.
        isDefault - true if it is default.
      • put

        public void put​(String name,
                        String supported,
                        String authScheme,
                        String level,
                        boolean isDefault)
        Adds SAMLv2AuthContext to the collection.
        Parameters:
        name - Name of entry.
        supported - true if this entry is supported.
        authScheme - key/value pair of authScheme
        level - Level of entry.
        isDefault - true if it is default.