|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A SASL client provider allows for extending the IM server to support custom SASL protocols. These are created from SASLClientProviderFactory for the required mechanism.
Method Summary | |
void |
close()
Always called after the provider's use has completed. |
void |
init()
Called before 'using' this instance of the provider so that it can initialise itself. |
void |
process(SASLData data)
The whole SASL auth process is encapsulated within this method. |
void |
setLoginName(java.lang.String loginName)
If there was a loginName specified , it will be passed on to the provider using this method , else null will be passed. |
void |
setPassword(java.lang.String password)
If there was a password specified , it will be passed on to the provider using this method , else null will be passed. |
void |
setServer(java.lang.String server)
Set's the server (or domain) to which the user wants to log into. |
Method Detail |
public void setLoginName(java.lang.String loginName)
public void setPassword(java.lang.String password)
public void setServer(java.lang.String server)
public void init() throws SASLProviderException
SASLProviderException
public void process(SASLData data) throws SASLProviderException
SASLProviderException
- This will result in sending a Abort SASL packet to the server and the
authentication process will fail.public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |