Package org.pac4j.oauth.profile

Examples of org.pac4j.oauth.profile.XmlObject


   
    public XmlObject convert(final Object attribute) {
        if (attribute != null && attribute instanceof String) {
            try {
                final Constructor<? extends XmlObject> constructor = this.clazz.getDeclaredConstructor();
                final XmlObject xmlObject = constructor.newInstance();
                xmlObject.buildFrom((String) attribute);
                return xmlObject;
            } catch (final Exception e) {
                logger.error("Cannot build XmlObject : {}", e, this.clazz);
            }
        }
View Full Code Here

TOP

Related Classes of org.pac4j.oauth.profile.XmlObject

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.