Class SAMLv2AuthContexts
- java.lang.Object
-
- com.sun.identity.console.federation.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSAMLv2AuthContexts.SAMLv2AuthContext
-
Constructor Summary
Constructors Constructor Description SAMLv2AuthContexts()Default Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SAMLv2AuthContexts.SAMLv2AuthContextget(String name)Returns SAMLv2AuthContext in the collection.Map<String,SAMLv2AuthContexts.SAMLv2AuthContext>getCollections()booleanisEmpty()Returns true if collection is empty.voidput(String name, String supported, String level, boolean isDefault)Adds SAMLv2AuthContext to the collectionvoidput(String name, String supported, String authScheme, String level, boolean isDefault)Adds SAMLv2AuthContext to the collection.voidput(String name, String supported, String key, String value, String level, boolean isDefault)Adds SAMLv2AuthContext to the collection.intsize()Returns number of entries in collection.List<String>toIDPAuthContextInfo()List<String>toSPAuthContextInfo()
-
-
-
Method Detail
-
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.
-
getCollections
public Map<String,SAMLv2AuthContexts.SAMLv2AuthContext> getCollections()
-
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 authSchemelevel- Level of entry.isDefault- true if it is default.
-
get
public SAMLv2AuthContexts.SAMLv2AuthContext get(String name)
Returns SAMLv2AuthContext in the collection.- Parameters:
name- Name of entry to return.- Returns:
- SAMLv2AuthContext in the collection.
-
-