|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A SASL server provider allows for extending the IM server to support custom SASL protocols. These are created from SASLRealm for the required mechanism.
| Method Summary | |
void |
close()
Always called after the provider's use has completed. |
CollaborationPrincipal |
getUser()
Return the user which authenticated sucessfully using this provider instance. |
void |
init()
Called before 'using' this instance of the provider so that it can initialise itself. |
void |
process(org.netbeans.lib.collab.SASLData data)
The whole SASL auth process is encapsulated within this method. |
| Method Detail |
public CollaborationPrincipal getUser()
throws AuthenticationException
AuthenticationException - If this method is called without auth succeeding.
public void init()
throws org.netbeans.lib.collab.SASLProviderException
org.netbeans.lib.collab.SASLProviderException
public void process(org.netbeans.lib.collab.SASLData data)
throws org.netbeans.lib.collab.SASLProviderException
org.netbeans.lib.collab.SASLProviderException - This will result in sending a ABORT SASL packet to the client 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 | |||||||||