public void put(String name,String supported,String authScheme,String level,boolean isDefault){
  SAMLv2AuthContext c=new SAMLv2AuthContext();
  c.name=name;
  c.supported=supported;
  if (authScheme.length() != 0 && authScheme != null) {
    int index=authScheme.lastIndexOf("=");
    c.value=authScheme.substring(index + 1);
    c.key=authScheme.substring(0,index);
  }
 else {
    c.value="";
    c.key="";
  }
  c.level=level;
  c.isDefault=isDefault;
  collections.put(name,c);
}

public void put ( String name , String supported , String authScheme , String level , boolean isDefault ) { SAMLv2AuthContext c = new SAMLv2AuthContext ( ) ; c . name = name ; c . supported = supported ; if ( authScheme . length ( ) != 0 && authScheme != null ) { int index = authScheme . lastIndexOf ( "=" ) ; c . value = authScheme . substring ( index + 1 ) ; c . key = authScheme . substring ( 0 , index ) ; } else { c . value = "" ; c . key = "" ; } c . level = level ; c . isDefault = isDefault ; collections . put ( name , c ) ; }
adds samlv2authcontext to the collection .
