ZSSO user manual
ZSSO support background web application server which code is writen in PHP/ASP/ASP.NET/HTML/JSP/servlet, and all web server such as Apache/IIS/Tomcat/Weblogic/Websphere.
By default, there is a admin user with sign name 'admin', and password is 'zsso'. And there is a test application user with name 'test' and password 'test'.
Background applcations should a task to periodly synchronized application users' data from ZSSO by calling webservice:
http://zsso_ip:8091/zsso/SsoWebservice?wsdl
And the web service relative info is:
@WebService(targetNamespace = "http://www.zhegui.biz/webservice")
@SOAPBinding(style = SOAPBinding.Style.RPC)
@WebMethod
public String getAllUsersInXmlFormat()
under menu: master data -> sso background application user.
under menu: authority -> sso application and user relationship
And now user can access that application.
following these steps to use ZSSO URL-based authority:
under under menu: master data -> sso background application system, change your application definition, make sure "Use SSO authority"/"Need sign in" are both enabled.
under menu: authority -> User with Authority point.
String userSignInNm = request.getHeader("iv-user");
String userMail = request.getHeader("iv-user-mail");
String userIp = request.getHeader("iv-remote-address");
String userSessionKeyInSSO = request.getHeader("iv-sso-client-uuid");
ASP.NET code sample:
String userSignInNm = Request.Headers["iv-user"];
String userMail = Request.Headers["iv-user-mail"];
String userIp = Request.Headers["iv-remote-address"];
String userSessionKeyInSSO = Request.Headers["iv-sso-client-uuid"];
PHP code sample:
$userSignInNm = $_SERVER['HTTP_IV_USER"];
$userMail = $_SERVER['HTTP_IV_USER_MAIL"];
$userIp = $_SERVER['HTTP_IV_REMOTE_ADDRESS"];
$userSessionKeyInSSO = $_SERVER['HTTP_IV_SSO_CLIENT_UUID"];
Anyway, some web applications has hard-coded absolute URL. When make such application integrating with ZSSO, we need define rules for URL replacing.
which means you can know who/when/doing what.