I have need to be certified with a Sharepoint server Java code is run by NTLM authentication I I address my The IDE is running fine on the command line, but when I posted within Liferay as a portlet, it's just failing along with 401 unauthorized.
The code is actually the same except how it's implemented. A doView () portlet method (during the portlet stage render) occurs, and the other (which works) is a public static void method.
I set the Jespa to enter the level 4 to see the output. NetBeans IDE: In the netbeans IDE: state = ST_SENT HttpPeer: state = ST_RECEIVED status = 401 NTLM Indicator: Faucet HTTP: state = STESNTP hippre: state = STCRACEd status = 401 NTLMSAC priority provider: NTLM 2 session security through key negotiating successfully NtlmSecurityProvider: initiator negotiate NTLMv2 HttpPeer: state = ST_SENT HttpPeer: state = in ST_RECEIVED position = 200
Liferay log:
HttpPeer: State = ST_SENT HttpPeer: state = ST_RECEIVED status = 401 NTLM Sikyoritipradata faucet Actiteepeepiiar State = ST_SENT Acteepeepiiar State = ST_RECEIVED status = 401 18: 37: 58,578 ERROR [SharepointListPortlet: 76] Java. Security Biseshadikarit action Akspasn: our.portlet.util.HttpException: 401 java.security.AccessController.doPrivileged (Native Method jespa.security.RunAs.runAs) on javax.security.auth.Subject.doAs (Subject.java:396) (RunAs.java monthly61) at jespa.security but unauthorized. RunAs.runAs (RunAs.javaociety69) This is probably something simple, but I can not put my finger on it. I have looked through all JSPA sample code and have not found anything. Of course JSPA is a commercial product and I am evaluating it, so I can not pay for support. Anyone have any suggestions, so I would be grateful.
itemprop = "text"> Ioplex support will still help you, even if you have not purchased the product. Instead of
To use javax.security.auth.Subject to supply credentials in relation to your question, try to supply credentials using the "Header properties". Maybe your Lifeyr to cheat are new threads is ready and dropped the subject based credentials This feature is nowhere documented (see examples / http Getwaiderproprtijkjawa this is not technically supported it) is.
Comments
Post a Comment