Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //get username and password from shared state
- var someUserName = sharedState.get("javax.security.auth.login.name");
- var somePassword = sharedState.get("javax.security.auth.login.password");
- //set the username and password for other authentication modules to use
- sharedState.put("javax.security.auth.login.password",someUserName);
- sharedState.put("javax.security.auth.login.password",somePassword);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement