Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. //get username and password from shared state
  2. var someUserName = sharedState.get("javax.security.auth.login.name");
  3. var somePassword = sharedState.get("javax.security.auth.login.password");
  4.  
  5. //set the username and password for other authentication modules to use
  6. sharedState.put("javax.security.auth.login.password",someUserName);
  7. sharedState.put("javax.security.auth.login.password",somePassword);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement