Package org.jwall.web.audit.util

Examples of org.jwall.web.audit.util.Base64Codec.decode()


                        //
                        // extract the sensor-id and check the password
                        //
                        String[] t = line.substring( "authentication".length() ).split( " " );
                        Base64Codec codec = new Base64Codec();
                        String userpass = new String( codec.decode( t[1].getBytes() ) );

                        int k = 0;
                        for(int i = userpass.length() - 1; i >= 0; i--)
                            if(userpass.charAt(i) == ':'){
                                k = i;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.