Package org.apache.jetspeed.security.mfa

Examples of org.apache.jetspeed.security.mfa.JPEGImgDecoder


    {
        boolean emptyBackground = true;
        if (config.isUseImageBackground() && background != null)
        {
            ByteArrayInputStream is = new ByteArrayInputStream(background);
            JPEGImgDecoder decoder = new DefaultJPEGImgDecoder();
            try
            {
                this.image = decoder.decodeAsBufferedImage(is);
                this.width = image.getWidth();
                this.height = image.getHeight();
                emptyBackground = false;
            }
            catch (Exception e)
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.security.mfa.JPEGImgDecoder

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.