1 11 12 package org.jivesoftware.messenger.auth; 13 14 29 public interface AuthProvider { 30 31 39 boolean isPlainSupported(); 40 41 48 boolean isDigestSupported(); 49 50 62 void authenticate(String username, String password) throws UnauthorizedException; 63 64 78 void authenticate(String username, String token, String digest) 79 throws UnauthorizedException; 80 } | Popular Tags |