ltpa

Check ltpa token between webseal and websphere 9.0

╄→尐↘猪︶ㄣ 提交于 2019-12-24 23:19:51
问题 Good day! Do you explain for me? I have two servers - webseal and websphere 9.0. On websphere I exported ltpa key and enable security application check. On webseal I imported ltpa key. My code: try { Subject cs = WSSubject.getCallerSubject(); logger.info("subject: ", cs); logger.info("subjectPrincipal: ", WSSubject.getCallerPrincipal()); Subject rs = WSSubject.getRunAsSubject(); logger.info("runSubject: ", rs); Set securityCredentials = rs.getPublicCredentials(WSCredential.class);

Using a Trust Association Interceptor (TAI) to obtain a LTPA2-Token

折月煮酒 提交于 2019-12-10 11:33:38
问题 we have a custom web application hosted on a tomcat server and want to achieve to get an LTPA2Token when logging into this application on tomcat. All applications on both application servers are using the same LDAP.The application on the tomcat server cannot be hosted on a Web Sphere Application Server (WAS). The idea is the following: 1.Type in username and password on the tomcat web application via web browser. 2 Generate a custom token with the credentials 3. Send those credentials to a

Generate LTPAToken 2 in custom Web Application

左心房为你撑大大i 提交于 2019-12-07 18:43:24
问题 We want to realize a SSO-infrastructure with some IBM Domino / Websphere products and one custom web application. All IBM products are configured for SSO. Therefore, the WebSphere Application Server 8 generates an LTPAToken2 after successful login in one of the IBM products. We want to achieve the same behaviour for our own custom web application. After login into this web app, a LTPAToken2 should be generated. Therefore my question: Is it possible to generate a valid LTPAToken2 in our custom

Using a Trust Association Interceptor (TAI) to obtain a LTPA2-Token

旧巷老猫 提交于 2019-12-06 09:13:51
we have a custom web application hosted on a tomcat server and want to achieve to get an LTPA2Token when logging into this application on tomcat. All applications on both application servers are using the same LDAP.The application on the tomcat server cannot be hosted on a Web Sphere Application Server (WAS). The idea is the following: 1.Type in username and password on the tomcat web application via web browser. 2 Generate a custom token with the credentials 3. Send those credentials to a custom TAI on a Web Sphere Application Server The question is, if we can obtain a LTPA2Token from the TAI

How to use the information in an LTPA token

倾然丶 夕夏残阳落幕 提交于 2019-12-04 13:04:11
问题 Consider the following setup: A webapplication deployed on a Websphere Application Server (6.1 if it matters) the app will get accessed through a webseal reverse proxy the webseal takes care of the authentication and passes on an LTPA token as sign of valid authentication If I got it right, the LTPA token contains information like username, roles and so on. Question: how do I access this information from the LTPA token in my java web application? 回答1: You don't directly access the LTPA token,

How to use the information in an LTPA token

孤街醉人 提交于 2019-12-03 08:13:58
Consider the following setup: A webapplication deployed on a Websphere Application Server (6.1 if it matters) the app will get accessed through a webseal reverse proxy the webseal takes care of the authentication and passes on an LTPA token as sign of valid authentication If I got it right, the LTPA token contains information like username, roles and so on. Question: how do I access this information from the LTPA token in my java web application? You don't directly access the LTPA token, rather you assume that WebSphere has established a security context for you on the basis of its