Hi,

     I am trying how to grant permissions on methods using security declarations in
deployment descriptior. I have created a role say "Manager" and granted permissions to
methods say "addAccount()", "addDeposits" etc on my sessionBean. I have added
identities/principals to these roles. In weblogic inside weblogic-ejb-jar.xml
    <security-role-assignment>
      <role-name>manager</role-name>
      <principal-name>kennedy</principal-name>
    </security-role-assignment>
But I wonder, how the conainer will authentcate the user whether he/she is "kennedy" or
not. I think there need to be some logon screen through which user can enter his
principal-name/identity and/or user password.How these things will this be passed to 
the
container for authentication.Please let me know how to do this in EJB?

With thanks and regards,
Ashutosh Gupta

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to