GenieIdentityPlugin Walk-Through |
||||||
Timothy starts by designing a public class - GenieIdenityPlugin. This class describes the Identity plugin effecting authentication against an OID. The code checks if the entity user exists; if so, validates the User ID and Password. It then establishes connection with the OID server, authenticates the user, and returns the GUID if the authentication is successful. The code checks for the validity of the value of an attribute for a given user and group. The code also handles reconnection if the connection gets closed.
Click here to view the complete pseudo-code of GeneiIdentityPlugin.java. |