public class AuthenticationProxy extends Object
Constructor and Description |
---|
AuthenticationProxy() |
Modifier and Type | Method and Description |
---|---|
void |
addCredentials(Credentials creds) |
void |
addUser(String username,
String password) |
Credentials |
getCredentials(String authzid) |
ImapConnection |
getImapConnection()
Get the ImapConnection object which belongs to this proxy.
|
boolean |
login(String username,
String password)
Process a login request.
|
ImapConnection |
setImapConnection(ImapConnection conn)
Sets the ImapConnection object which belongs to this proxy.
|
public ImapConnection setImapConnection(ImapConnection conn)
Sets the ImapConnection object which belongs to this proxy.
conn
- the connection to be setpublic ImapConnection getImapConnection()
Get the ImapConnection object which belongs to this proxy.
public void addCredentials(Credentials creds)
public boolean login(String username, String password)
Process a login request.
username
- the username to be checkedpassword
- the password to be checkedpublic Credentials getCredentials(String authzid)
Copyright © 2023. All rights reserved.