HomeSort by relevance Sort by last modified time
    Searched refs:SaslException (Results 1 - 25 of 30) sorted by null

1 2

  /external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/serialization/
SaslExceptionTest.java 24 import javax.security.sasl.SaslException;
29 * Test for SaslException serialization
43 return new Object[] { new SaslException(),
44 new SaslException(msg),
45 new SaslException(msgs[1]),
46 new SaslException(msg, null),
47 new SaslException(msgs[0], null),
48 new SaslException(msg, cause),
49 new SaslException(msgs[1], cause)
  /external/smack/src/org/apache/harmony/javax/security/sasl/
SaslClient.java 22 void dispose() throws SaslException;
24 byte[] evaluateChallenge(byte[] challenge) throws SaslException;
34 byte[] unwrap(byte[] incoming, int offset, int len) throws SaslException;
36 byte[] wrap(byte[] outgoing, int offset, int len) throws SaslException;
SaslServer.java 22 void dispose() throws SaslException;
24 byte[] evaluateResponse(byte[] response) throws SaslException;
34 byte[] unwrap(byte[] incoming, int offset, int len) throws SaslException;
36 byte[] wrap(byte[] outgoing, int offset, int len) throws SaslException;
SaslException.java 22 public class SaslException extends IOException {
31 public SaslException() {
35 public SaslException(String detail) {
39 public SaslException(String detail, Throwable ex) {
AuthenticationException.java 20 public class AuthenticationException extends SaslException {
SaslClientFactory.java 26 String serverName, Map<String, ?> props, CallbackHandler cbh) throws SaslException;
SaslServerFactory.java 26 Map<String, ?> props, CallbackHandler cbh) throws SaslException;
  /external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/
Sasl4Test.java 33 import javax.security.sasl.SaslException;
97 * throws SaslException when parameters (protocol, cbh,
103 public void testCreateServer01() throws SaslException {
121 fail("SaslException should be thrown when CallbackHandler is wrong");
122 } catch (SaslException e) {
127 fail("SaslException should be thrown when mechanisms is wrong");
128 } catch (SaslException e) {
132 fail("SaslException should be thrown when protocol is null");
133 } catch (SaslException e) {
146 public void testCreateServer02() throws SaslException {
    [all...]
SaslExceptionTest.java 24 import javax.security.sasl.SaslException;
29 * Tests for constructors and methods of SaslException class
48 * Test for <code>SaslException()</code> constructor
49 * Assertion: constructs SaslException with null message and
53 SaslException tE;
54 tE = new SaslException();
60 * Test for <code>SaslException(String detail)</code> constructor
62 * constructs SaslException with defined detail message.
66 SaslException tE;
68 tE = new SaslException(msgs[i])
    [all...]
Sasl3Test.java 38 import javax.security.sasl.SaslException;
100 * throws SaslException when parameters (protocol, cbh, mechanisms) are
105 public void testCreateClient01() throws SaslException {
124 fail("SaslException should be thrown when CallbackHandler is wrong");
125 } catch (SaslException e) {
131 fail("SaslException should be thrown when mechanisms is wrong");
132 } catch (SaslException e) {
137 fail("SaslException should be thrown when protocol is null");
138 } catch (SaslException e) {
151 public void testCreateClient02() throws SaslException {
    [all...]
  /external/smack/asmack-master/static-src/novell-openldap-jldap/com/novell/sasl/client/
DigestChallenge.java 51 throws SaslException
68 catch (SaslException e)
79 * @exception SaslException If a semantic error occurs
82 DirectiveList dirList) throws SaslException
117 throw new SaslException("Only qop-auth is supported by client");
120 throw new SaslException("Invalid cipher options");
122 throw new SaslException("Missing nonce directive");
124 throw new SaslException("Unexpected stale flag");
126 throw new SaslException("Missing algorithm directive");
134 * @exception SaslException If an error occurs due to too many nonc
    [all...]
ResponseAuth.java 30 throws SaslException
40 catch (SaslException e)
51 * @exception SaslException If a semantic error occurs
54 DirectiveList dirList) throws SaslException
70 throw new SaslException("Missing response-auth directive.");
DigestMD5SaslClient.java 99 * @exception SaslException If a SaslClient instance cannot be created
240 throws SaslException
263 * @exception SaslException if incoming cannot be successfully unwrapped.
273 throws SaslException
310 * @exception SaslException if a problem was encountered while disposing
314 throws SaslException
338 * @exception SaslException If an error occurred while processing the
343 throws SaslException
352 throw new SaslException("response = byte[0]");
362 throw new SaslException(
    [all...]
DirectiveList.java 73 * @exception SaslException If an error Occurs
75 void parseDirectives() throws SaslException
84 throw new SaslException("No UTF-8 support on platform");
107 throw new SaslException("Parse error: Invalid name character");
129 throw new SaslException("Parse error: Invalid name character");
145 throw new SaslException("Parse error: Expected equals sign '='.");
167 throw new SaslException("Parse error: Unexpected character");
189 throw new SaslException("Parse error: Invalid value character");
213 throw new SaslException("Parse error: Expected a comma.");
238 throw new SaslException("Parse error: Trailing comma.")
    [all...]
TokenParser.java 54 * @exception SASLException if an error occurs while parsing
56 String parseToken() throws SaslException
84 throw new SaslException("Invalid token character at position " + m_curPos);
106 throw new SaslException("Invalid token character at position " + m_curPos);
119 throw new SaslException("Expected a comma, found '" +
142 throw new SaslException("Trialing comma");
  /external/smack/src/com/novell/sasl/client/
DigestChallenge.java 51 throws SaslException
68 catch (SaslException e)
79 * @exception SaslException If a semantic error occurs
82 DirectiveList dirList) throws SaslException
117 throw new SaslException("Only qop-auth is supported by client");
120 throw new SaslException("Invalid cipher options");
122 throw new SaslException("Missing nonce directive");
124 throw new SaslException("Unexpected stale flag");
126 throw new SaslException("Missing algorithm directive");
134 * @exception SaslException If an error occurs due to too many nonc
    [all...]
ResponseAuth.java 30 throws SaslException
40 catch (SaslException e)
51 * @exception SaslException If a semantic error occurs
54 DirectiveList dirList) throws SaslException
70 throw new SaslException("Missing response-auth directive.");
DigestMD5SaslClient.java 99 * @exception SaslException If a SaslClient instance cannot be created
240 throws SaslException
263 * @exception SaslException if incoming cannot be successfully unwrapped.
273 throws SaslException
310 * @exception SaslException if a problem was encountered while disposing
314 throws SaslException
338 * @exception SaslException If an error occurred while processing the
343 throws SaslException
352 throw new SaslException("response = byte[0]");
362 throw new SaslException(
    [all...]
DirectiveList.java 73 * @exception SaslException If an error Occurs
75 void parseDirectives() throws SaslException
84 throw new SaslException("No UTF-8 support on platform");
107 throw new SaslException("Parse error: Invalid name character");
129 throw new SaslException("Parse error: Invalid name character");
145 throw new SaslException("Parse error: Expected equals sign '='.");
167 throw new SaslException("Parse error: Unexpected character");
189 throw new SaslException("Parse error: Invalid value character");
213 throw new SaslException("Parse error: Expected a comma.");
238 throw new SaslException("Parse error: Trailing comma.")
    [all...]
TokenParser.java 54 * @exception SASLException if an error occurs while parsing
56 String parseToken() throws SaslException
84 throw new SaslException("Invalid token character at position " + m_curPos);
106 throw new SaslException("Invalid token character at position " + m_curPos);
119 throw new SaslException("Expected a comma, found '" +
142 throw new SaslException("Trialing comma");
  /external/smack/src/org/apache/qpid/management/common/sasl/
PlainSaslClient.java 30 import org.apache.harmony.javax.security.sasl.SaslException;
44 public PlainSaslClient(String authorizationID, CallbackHandler cbh) throws SaslException
54 throw new SaslException("PLAIN: authenticationID and password must be specified");
58 public byte[] evaluateChallenge(byte[] challenge) throws SaslException
91 throw new SaslException("PLAIN: Cannot get UTF-8 encoding of ids",
111 public byte[] unwrap(byte[] incoming, int offset, int len) throws SaslException
122 public byte[] wrap(byte[] outgoing, int offset, int len) throws SaslException
168 public void dispose() throws SaslException
178 private Object[] getUserInfo() throws SaslException
203 throw new SaslException("Cannot get password", e)
    [all...]
ClientSaslFactory.java 26 import org.apache.harmony.javax.security.sasl.SaslException;
33 throws SaslException
CRAMMD5HashedSaslClientFactory.java 27 import org.apache.harmony.javax.security.sasl.SaslException;
37 throws SaslException
45 throw new SaslException("CallbackHandler must not be null");
  /external/smack/asmack-master/static-src/custom/de/measite/smack/
SaslClientFactory.java 25 import org.apache.harmony.javax.security.sasl.SaslException;
34 Map<String, ?> props, CallbackHandler cbh) throws SaslException {
  /external/smack/src/de/measite/smack/
SaslClientFactory.java 25 import org.apache.harmony.javax.security.sasl.SaslException;
34 Map<String, ?> props, CallbackHandler cbh) throws SaslException {

Completed in 251 milliseconds

1 2