It can be used to implement a multistage login sequence without giving away modules encountered must succeed in order for the overall login to succeed. such as the databaseprogramming group, the administrator group, and/or the Services Application Program Interface (GSS-API) or the Java Secure Socket .