[appengine-java] AccessControlException when using Spring Security with OpenID

2009-10-24 Thread ralph.kretz...@googlemail.com

Hello,

I try to implement Spring Security with OpenID but I am getting a
'java.security.AccessControlException: access denied' for the
RequestURI /j_spring_openid_security_chec

It is working fine if I use '-D--enable_all_permissions=true' as VM
Argument.


Any ideas?


Thanks,
Ralph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] Constraints for JPA?

2009-08-28 Thread ralph.kretz...@googlemail.com

Hello,

is it possible to use Constraints? It seems not to work ...
http://www.datanucleus.org/products/accessplatform_1_1/jpa/orm/constraints.html

The properties codingSystem and code should be unique. Is there a
workaround?

@Entity
@Table(uniqueconstraint...@uniqueconstraint(columnNames=
{"codingSystem","code"})})
public class ArticleCode {

@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
private Key id;

private String codingSystem;

private String code;



Thanks,
Ralph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---