Hardcoded feedng of cipher to URF-8 to ensure that no characters get trampled.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 31 May 2002 21:21:45 +0000 (21:21 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 31 May 2002 21:21:45 +0000 (21:21 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@22 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/common/AttributeQueryHandle.java

index d741ba1..a0b7ebd 100755 (executable)
@@ -81,7 +81,7 @@ public class AttributeQueryHandle {
                        cipherTextHandle =
                                cipher.doFinal(
                                        (principal + "||" + expirationTime + "||" + handleID)
-                                               .getBytes());
+                                               .getBytes("UTF-8"));
 
                } catch (Exception e) {
                        throw new HandleException("Error creating handle: " + e);