[JBoss-user] [Persistence CMP/JBoss] - ejbPassivate on demand

2004-05-20 Thread cane74
Hi.

Can anyone tell me how to tell JBoss to passivate specified bean (in this case - BMP 
bean)? Is it possible to do it from web-console or something similar? Thanks in 
advance.

Bart


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835650#3835650

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835650


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Relational table with more than 2 foreign keys

2004-05-06 Thread cane74
So I need to redesign part of DB - thanks :-)

Bart


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3833925#3833925

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833925


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Problem with relation between EJBs

2004-04-07 Thread cane74
Hi.

To be exact - access to LDAP is done via BMP bean, not CMP. I tried to establish a 
relation between BMP and CMP and I couldn't. Is it possible at all?

Regards,
Bart


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3829647#3829647

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3829647


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Problem with relation between EJBs

2004-04-02 Thread cane74
Hi.

I wrote Entity EJB which access LDAP and I can't make relation between CMP EJB 
accessing DB and this one. Server tries to find an entity in DB but this is LDAP EJB 
so I always get an error. Below are code fragments.

Thanks for any ideas,
Bart

Code from UzytkownikBean (master):


  | /**
  |  * @ejb.interface-methodview-type=local
  |  * 
  |  * @ejb.relation
name=uzytkownik-uzytkownikInfo
  |  * 
 role-name=uzytkownik-ma-uzytkownikInfo
  |  */
  | public abstract java.util.Collection getInfo();
  | 
  | /**
  |  * @ejb.interface-methodview-type=local
  |  */
  | public abstract void setInfo(UzytkownikInfoLocal _info);
  | 

Code from UzytkownikInfoBean (source):


  | /**
  |  * 
  |  * @ejb.interface-methodview-type=local
  |  * 
  |  * @ejb.relation
name=uzytkownik-uzytkownikInfo
  |  *  
role-name=uzytkownikInfo-nalezydo-uzytkownik
  |  *  
target-ejb=Uzytkownik
  |  * 
  |  *  
  |  */
  | public abstract UzytkownikLocal getUzytkownik();
  | 
  | 
  | /**
  |  * 
  |  * @param _user UzytkownikBean
  |  * 
  |  * @ejb:interface-methodview-type=local
  |  */
  | public abstract void setUzytkownik(UzytkownikLocal _user);  
  | 


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3828827#3828827

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3828827


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: how to create CMP with lomboz?(compound primary key)

2004-03-22 Thread cane74
Hi.

Look at ejb.pk tag reference at http://xdoclet.sourceforge.net

Regards,
Bart


a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3826827#3826827;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3826827Reply 
to the post/a


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Help - can't access user roles in LDAP

2004-03-15 Thread cane74
Thanks, it seems to work. But there is still question: what if I would like to use 
cn=Users,ou=Groups,dc=iqtech,dc=pl as a unique member of any role?

Regards,
Bart


a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825683#3825683;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825683Reply 
to the post/a


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: problem with web.xml and accessing secure pages

2004-03-12 Thread cane74
Thank you - it was the matter of elements order... Hmm, isn't it strange that first 
role is used and then defined? :)

Bart

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825351#3825351;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825351Reply 
to the post/a


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Help - can't access user roles in LDAP

2004-03-12 Thread cane74
Hi.

I have configured JBoss to authenticate users in LDAP directory. Users are 
authenticated properly, but their roles aren't mirrored in JBoss. I tried many 
configurations in login-config.xml but it still doesn't work. Server.log contains such 
entries after user login:


  | 2004-03-12 16:44:20,953 TRACE [org.jboss.security.auth.spi.LdapLoginModule] Logged 
into LDAP server, [EMAIL PROTECTED]
  | 2004-03-12 16:44:20,968 TRACE [org.jboss.security.auth.spi.LdapLoginModule] User 
'fsmith' authenticated, loginOk=true
  | 2004-03-12 16:44:20,968 TRACE [org.jboss.security.auth.spi.LdapLoginModule] 
commit, loginOk=true
  | 2004-03-12 16:44:20,968 TRACE 
[org.jboss.security.plugins.JaasSecurityManager.iqweb] updateCache, subject=Subject:
  | Principal: fsmith
  | Principal: Roles(members)
  | 

Below are parts of LDAP schema and login-config.xml. Thanks for any suggestions.

Best regards,
Bart

login-config.xml:


  |   application-policy name=iqweb
  | authentication
  |   login-module code=org.jboss.security.auth.spi.LdapLoginModule 
flag=required
  |  module-option 
name=java.naming.factory.initialcom.sun.jndi.ldap.LdapCtxFactory/module-option
  |  module-option 
name=java.naming.provider.urlldap://magnat//module-option
  |  module-option 
name=java.naming.security.authenticationsimple/module-option
  |  module-option name=principalDNPrefixuid=/module-option
  |  module-option 
name=principalDNSuffix,ou=People,dc=iqtech,dc=pl/module-option
  |  module-option name=rolesCtxDNou=Roles,dc=iqtech,dc=pl/module-option
  |  module-option name=matchOnUserDNtrue/module-option !-- false also 
doesn't work --
  |  module-option name=uidAttributeIDuniqueMember/module-option
  |  module-option name=roleAttributeIDcn/module-option
  |/login-module
  | /authentication
  |   /application-policy
  | 


LDAP ldif:


  | # OU DEFINITIONS
  | # People OU - for holding records of all individuals
  | dn: ou=People,dc=iqtech,dc=pl
  | ou: People
  | objectClass: top
  | objectClass: organizationalUnit
  | 
  | # Groups OU - for holding records of groupings of individuals
  | dn: ou=Groups,dc=iqtech,dc=pl
  | ou: Groups
  | objectClass: top
  | objectClass: organizationalUnit
  | 
  | # Roles OU - for holding records of roles and the groups to which those roles have 
been assigned
  | dn: ou=Roles,dc=iqtech,dc=pl
  | ou: Roles
  | objectClass: top
  | objectClass: organizationalUnit
  | 
  | # PEOPLE ENTRIES
  | dn: uid=lrussell,ou=People,dc=iqtech,dc=pl
  | objectClass: top
  | objectClass: person
  | objectClass: organizationalPerson
  | objectClass: inetOrgPerson
  | sn: Russell
  | cn: Luc
  | uid: lrussell
  | userpassword: fgCPCzLOHJSRIhLb756rLfe8E7Y=
  | mail: [EMAIL PROTECTED]
  | 
  | dn: uid=jbloggs,ou=People,dc=iqtech,dc=pl
  | objectClass: top
  | objectClass: person
  | objectClass: organizationalPerson
  | objectClass: inetOrgPerson
  | sn: Bloggs
  | cn: Joe
  | uid: jbloggs
  | userpassword: no3XJAZeeb9AKbGNY65/masWpZE=
  | mail: [EMAIL PROTECTED]
  | 
  | dn: uid=fsmith,ou=People,dc=iqtech,dc=pl
  | objectClass: top
  | objectClass: person
  | objectClass: organizationalPerson
  | objectClass: inetOrgPerson
  | sn: Smith
  | cn: Fred
  | uid: fsmith
  | userpassword: kSgNNHCC/WXSjWH3s11BQNE6cKE=
  | mail: [EMAIL PROTECTED]
  | 
  | 
  | # GROUPS ENTRIES
  | dn: cn=Users,ou=Groups,dc=iqtech,dc=pl
  | objectClass: top
  | objectClass: groupOfUniqueNames
  | cn: Users
  | uniqueMember: uid=jbloggs,ou=People,dc=iqtech,dc=pl
  | uniqueMember: uid=fsmith,ou=People,dc=iqtech,dc=pl
  | 
  | dn: cn=Member_admins,ou=Groups,dc=iqtech,dc=pl
  | objectClass: top
  | objectClass: groupOfUniqueNames
  | cn: Member_admins
  | uniqueMember: uid=lrussell,ou=People,dc=iqtech,dc=pl
  | 
  | dn: cn=Everyone,ou=Groups,dc=iqtech,dc=pl
  | objectClass: top
  | objectClass: groupOfUniqueNames
  | cn: Everyone
  | uniqueMember: uid=jbloggs,ou=People,dc=iqtech,dc=pl
  | uniqueMember: uid=fsmith,ou=People,dc=iqtech,dc=pl
  | uniqueMember: uid=lrussell,ou=People,dc=iqtech,dc=pl
  | 
  | # ROLES ENTRIES
  | dn: cn=Authenticated_users,ou=Roles,dc=iqtech,dc=pl
  | objectClass: top
  | objectClass: groupOfUniqueNames
  | cn: Authenticated_users
  | uniqueMember: cn=Everyone,ou=Groups,dc=iqtech,dc=pl 
  | 
  | dn: cn=Member_admin,ou=Roles,dc=iqtech,dc=pl
  | objectClass: top
  | objectClass: groupOfUniqueNames
  | cn: Member_admin
  | uniqueMember: cn=Member_admins,ou=Groups,dc=iqtech,dc=pl
  | 
  | anonymous wrote : 

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825399#3825399;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825399Reply 
to the post/a


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from