Hi Jonathan,

Yes, we are using Servlets, let’s try your suggestion and see if it works.
It seems Xue tried that already but was not able to get everything but she is 
going to try again and come back to you if there is issues.

Thanks,
Martial

From: GATHMAN, JONATHAN C
Sent: mardi 17 juillet 2018 15:00
To: Ngueko, Gervais-Martial <[email protected]>; [email protected]
Cc: O'KEEFE, TIMOTHY J <[email protected]>; MCCRAY, CHRISTOPHER <[email protected]>
Subject: Re: [AAF][CLAMP] is "java.security.Principal;"

Greetings,
  Are you writing via Servlets?

  If so, then the Principal involved in the Transaction is available on the 
‘HttpServletRequest’… getUserPrincipal(), I believe.

--
Jonathan Gathman
Principled-System Architect
ATO Tech Dev/SEAT/Platform Architecture and Technology Management

AT&T Services, Inc.
2349 Oaker, Arnold, MO 63010
m  314-550-3312  |  
[email protected]<mailto:[email protected]>


From: "NGUEKO, GERVAIS-MARTIAL" 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, July 17, 2018 at 7:13 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, "GATHMAN, 
JONATHAN C" <[email protected]<mailto:[email protected]>>
Cc: "O'KEEFE, TIMOTHY J" <[email protected]<mailto:[email protected]>>, "MCCRAY, 
CHRISTOPHER" <[email protected]<mailto:[email protected]>>
Subject: [AAF][CLAMP] is "java.security.Principal;"

Hello AAF team,

Do you know of a way to retrieve the ”java.security.Principal; “ without using 
the jaxrs library “javax.ws.rs.core.SecurityContext;”
As you know, Due to security issue we need to go away from using the jaxrs 
package. Currently we are using the code:
Principal p = securityContext.getUserPrincipal();

So does someone know another library with no security issue to achieve the same 
result?

BR

Gervais-Martial Ngueko
CLAMP PTL


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11175): https://lists.onap.org/g/onap-discuss/message/11175
Mute This Topic: https://lists.onap.org/mt/23541480/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to