Guest User

Untitled

a guest
Jan 17th, 2018
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. ~/apache-tomcat-7.0.69/bin$ ./digest.sh -a MD5 test
  2. Listening for transport dt_socket at address: 5005
  3. test:098f6bcd4621d373cade4e832627b4f6
  4. ~/apache-tomcat-7.0.69/bin$
  5.  
  6. ~/apache-tomcat-8.5.6/bin$ ./digest.sh -a MD5 test
  7. test:27d6262696d98e0a8a973d43eef07c66c68b089a4ada21dd3ba0defc04ca302e$1$13a7c1932523dcea3bb39ef05b75b4c6
  8. ~/apache-tomcat-8.5.6/bin$
  9.  
  10. <Realm className="org.apache.catalina.realm.DataSourceRealm"
  11. dataSourceName="jdbc/myDataSource"
  12. roleNameCol="role" userCredCol="password" userNameCol="loginid"
  13. digest="md5"
  14. userRoleTable="userroles" userTable="users"
  15. localDataSource="true" />
  16.  
  17. <Realm className="org.apache.catalina.realm.DataSourceRealm"
  18. dataSourceName="jdbc/myDataSource"
  19. roleNameCol="role" userCredCol="password" userNameCol="loginid"
  20. userRoleTable="userroles" userTable="users" localDataSource="true">
  21. <CredentialHandler
  22. className="org.apache.catalina.realm.MessageDigestCredentialHandler"
  23. algorithm="md5" />
  24. </Realm>
Add Comment
Please, Sign In to add comment