[flexcoders] remote object authentication in websphere

2005-04-28 Thread Shahnavaz Alware










Hi,



I have been struggling with Authentication of the remote
object service on Websphere 6.0. This is the first time I am doing this
configuration so not sure what I am doing wrong. I will list what steps I did
so far.



-- Flex-config.xml



named

 object
name=responsibilityAssignmentDelegate


sourcecom.software.ResponsibilityAssignmentDelegate/source

 typestateless-class/type

 use-custom-authenticationtrue/use-custom-authentication

 allow-unnamed-accessfalse/allow-unnamed-access

 roles

 roleadmin/role

 /roles 

 /object

/named





-- Web.xml



 security-constraint

  display-nameTest1/display-name

  web-resource-collection

  web-resource-nameProtected
Page/web-resource-name

  descriptionTest
with J2EE/description

  url-pattern/amfgateway/responsibilityAssignmentDelegate/url-pattern

  http-methodGET/http-method

  http-methodPOST/http-method

  /web-resource-collection

  auth-constraint

  descriptionadmin/description

  role-nameAdmin/role-name

  /auth-constraint

 /security-constraint

 security-role

  descriptionadmin/description

  role-nameAdmin/role-name

 /security-role



In Websphere I am using custom user registry and Global
Authentication is enabled. I can login to Websphere Admin Console using my
user/pwd, but cant get authenticated if I try from flex login.



Thank you, 



Shahn











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] remote object authentication in websphere

2005-04-28 Thread Lin Lin










Hi,

You are missing the auth-method setting,
for example:

 login-config


auth-methodBASIC/auth-method

/login-config



In your
flex installation, under resources\security\examples there are samples for
using flex with authentication. Please look at the readme.txt for configuration
, and addingusers.txt for how to add users for different app server.





-lin











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shahnavaz Alware
Sent: Thursday, April 28, 2005
5:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] remote
object authentication in websphere





Hi,



I have been struggling with Authentication of the remote
object service on Websphere 6.0. This is the first time I am doing this
configuration so not sure what I am doing wrong. I will list what steps I did
so far.



-- Flex-config.xml



named

 object
name=responsibilityAssignmentDelegate


sourcecom.software.ResponsibilityAssignmentDelegate/source

 typestateless-class/type


use-custom-authenticationtrue/use-custom-authentication

 allow-unnamed-accessfalse/allow-unnamed-access


roles


roleadmin/role

 /roles 

 /object

/named





-- Web.xml



 security-constraint



display-nameTest1/display-name


 web-resource-collection



web-resource-nameProtected Page/web-resource-name



descriptionTest with J2EE/description



url-pattern/amfgateway/responsibilityAssignmentDelegate/url-pattern



http-methodGET/http-method



http-methodPOST/http-method


 /web-resource-collection


 auth-constraint



descriptionadmin/description



role-nameAdmin/role-name


 /auth-constraint

 /security-constraint

 security-role



descriptionadmin/description



role-nameAdmin/role-name

 /security-role



In Websphere I am using custom user registry and Global
Authentication is enabled. I can login to Websphere Admin Console using my
user/pwd, but cant get authenticated if I try from flex login.



Thank you, 



Shahn












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.