Package com.sun.xml.wss.saml.assertion.saml11.jaxb20

Examples of com.sun.xml.wss.saml.assertion.saml11.jaxb20.Assertion


     *            sender or in the element definition.
     */
    public Subject(
        NameIdentifier nameIdentifier, SubjectConfirmation subjectConfirmation)
        {
        ObjectFactory factory = new ObjectFactory();
       
        if ( nameIdentifier != null)
            getContent().add(factory.createNameIdentifier(nameIdentifier));
       
        if ( subjectConfirmation != null)
            getContent().add(factory.createSubjectConfirmation(subjectConfirmation));
    }
View Full Code Here


     * @exception SAMLException if it could not process the
     *            Element properly, implying that there is an error in the
     *            sender or in the element definition.
     */
    public Subject(NameID nameId, SubjectConfirmation subjectConfirmation){
        ObjectFactory factory = new ObjectFactory();
       
        if ( nameId != null)
            getContent().add(factory.createNameID(nameId));
       
        if ( subjectConfirmation != null)
            getContent().add(factory.createSubjectConfirmation(subjectConfirmation));
    }
View Full Code Here

//        setLocation(location);
//        setBinding(binding);
    }
   
    public AuthnContext(String authContextClassref, String authenticatingAuthority){
        ObjectFactory factory = new ObjectFactory();       
        if (authContextClassref != null){
            getContent().add(factory.createAuthnContextClassRef(authContextClassref));
        }
        if(authenticatingAuthority != null){
            getContent().add(factory.createAuthenticatingAuthority(authenticatingAuthority));
        }
    }
View Full Code Here

TOP

Related Classes of com.sun.xml.wss.saml.assertion.saml11.jaxb20.Assertion

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.