[JBoss JIRA] Updated: (JBPORTAL-857) Deal with non standard Locales better
by Chris Laprun (JIRA)
[ http://jira.jboss.com/jira/browse/JBPORTAL-857?page=all ]
Chris Laprun updated JBPORTAL-857:
----------------------------------
Fix Version/s: 2.6 Final
(was: 2.6_Chris_Not_Managed_Tasks)
Assignee: Julien Viet (was: Chris Laprun)
> Deal with non standard Locales better
> -------------------------------------
>
> Key: JBPORTAL-857
> URL: http://jira.jboss.com/jira/browse/JBPORTAL-857
> Project: JBoss Portal
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Portal WSRP
> Affects Versions: 2.4 Final
> Reporter: Chris Laprun
> Assigned To: Julien Viet
> Priority: Minor
> Fix For: 2.6 Final
>
> Original Estimate: 3 hours
> Remaining Estimate: 3 hours
>
> Per the WSRP Spec regarding UnsupportedLocale fault:
> The Portlet does not support generating markup for the requested locale. Since the Portlet is not required to generate markup in the requested locale, a Portlet returning this fault message is indicating that it processes locales in a stricter manner and has no markup for the requested locales. The Consumer can treat this as a specialization of the OperationFailed fault message and does not have to retry getting the markup in other locales.
> Currently, LocaleInfo throws an IllegalArgumentException if the locale is not standard which gets wrapped into an OperationFailedFault at the handler level. We should deal with locale errors better and maybe be more lenient as to what we accept.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Created: (JBPORTAL-1175) Provide security authentication per wsrp producer in the consumer
by Julien Viet (JIRA)
Provide security authentication per wsrp producer in the consumer
-----------------------------------------------------------------
Key: JBPORTAL-1175
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1175
Project: JBoss Portal
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Portal WSRP
Reporter: Julien Viet
Assigned To: Chris Laprun
Fix For: 2.6.Beta1
Security based on SOAP/HTTP security which allow basic/digest authentication.
Usually the stub can be configured using smth like :
Stub stub = // ... get the Stub;
stub._setProperty ("javax.xml.rpc.security.auth.username", "juliet");
stub._setProperty ("javax.xml.rpc.security.auth.password", "mypassword");
We need to support several kind of username/password style, so we should have
1/ a global username/password for the whole producer, smth like
<wsrp-producer>
<producer-id>blah</producer-id>
...
<auth-config>
<username>blah username</username>
<password>blah password</password>
</auth-config>
</wsrp-producer>
2/ a generic mechanism that would allow more fine grained username/password that can allow to make identity propagation (for sso)
<wsrp-producer>
<producer-id>blah</producer-id>
...
<auth-config>
<credential-factory>org.client.BlahCredentialFactory</credential-factory>
</auth-config>
</wsrp-producer>
with an interface which allows to retrieve credentials. Usually the factory implementations leverage thread local mechanisms to integrate the user identity with a username/password storage like :
String userId = UserId.getCurrentUserId();
String password = passwordStore.getPassword(userId);
return new WSRPCredential(userId, password);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months