| | |
| | | * |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2014 ForgeRock AS |
| | | * Portions Copyright 2014-2015 ForgeRock AS |
| | | */ |
| | | package org.opends.server.protocols.ldap; |
| | | |
| | |
| | | private static String newDn="cn=new dn, dc=example,dc=com"; |
| | | private static String creds="some creds"; |
| | | |
| | | @Test() |
| | | @Test |
| | | public void testBindRequestEncodeDecode() throws Exception { |
| | | ByteStringBuilder simpleBuilder = new ByteStringBuilder(); |
| | | ASN1Writer simpleWriter = ASN1.getWriter(simpleBuilder); |
| | |
| | | assertTrue(saslOpCreds.equals(saslCreds)); |
| | | } |
| | | |
| | | @Test () |
| | | @Test |
| | | public void testBindRequestToString() throws Exception |
| | | { |
| | | ByteString bindDn=ByteString.valueOf(dn); |