Is there a better way that what i have below? It seems odd that i need to delete and re-add the ACL if i want to remove several ACEs at once.
public void...
Type: Posts; User: denov; Keyword(s):
Is there a better way that what i have below? It seems odd that i need to delete and re-add the ACL if i want to remove several ACEs at once.
public void...
all,
what's the best way to add and remove a role (using GrantedAuthoritySid) to a ACL? i'm trying to implemented the concept of public/private for some objects? do i need to get the whole ACL...
is it possible to use role hierarchy with ACLs?
figured it out. I just need to add the role into the SID table. when doing so the principal is set to false.
all,
how do i go about making an object that's managed by ACLs and controlled with @PostFilter("hasPermission(filterObject, 'READ')") accessible to everybody? I need to be able to let users mark...
all,
under tomcat 6 on windows these urls work, with or with the trailing slash. -
http://localhost:8080/magic/recommendation
http://localhost:8080/magic/recommendation/
...
it appears with 1.5.9 that you either get validators and one class for each method for our service with a lot of xml or you get a single class with all the method in it that's annotated. life would...
i would convert your wsdl in to a xsd and let spring generate your wsdl at runtime. life will be easier this way.
so how did you wire in your validator? did you write custom one or re-used the spring one?
you don't have to deal with XML in the methodEnpoint using @PayloadRoot. in my case jaxb is converting...
what solution did you come up with? i'm need the same type of validation using the same configuration.
i'm don't know what metro is or this other validator but i think you might be looking for http://static.springsource.org/spring-ws/sites/1.5/reference/html/server.html#d0e3000
do i have to extend AbstractFaultCreatingValidatingMarshallingPayloadEndpoint if i want to use a Validator in my endpoint if i'm using annotations? i'm lacking to see why i would want to override...
did you ever figure this out?
you'll probably want to takethe schema part (all the non-soap related elements) from your wsdl and create a xsd file from that. SWS creates the wsdl on the fly from your xsd.
i find jaxb very...
nope. i figured this out the hard way. the ws security isn't compatible with the security 3.x SWS 2.x should resolve this.
ah! i got it now. thanks.
what's the pros and cons of extending LdapUserDetailsMapper.mapUserFromContex vs LdapUserDetailsService.loadUserByUsername?
and should i have to be doing something like
...
sorry, i should have clarified what i'm doing a bit more.
the manual is great if was getting those extra attributes from ldap but in my case i'm fetching them from a database.
i need to stick some extra attributes (user pref stuff) in LdapUserDetails and ran across this thread - http://forum.springsource.org/showthread.php?t=26912&highlight=LdapUserDetails+extend
this...
it looks like org.springframework.ws.soap.security.xwss.callback requires org.springframework.security.AuthenticationManager. this is a 2.x security package.
what are my options here to get WS...
it looks like i figured it out, after reading some javadocs.
the changed needed was to add my custom LdapUserDetailsMapper to the LdapAuthenticationProvider and only ref the provider in the...
You need to modify the <authentication-provider> element and add a ref= to your bean instead. So,:
<authentication-provider ref="ldapAuthenticationProvider" ...
<s:global-method-security jsr250-annotations="enabled"/>
<s:http access-decision-manager-ref="accessDecisionManager"
access-denied-page="/accessDenied.jsp">
<s:form-login...
when i config my context like;
<s:authentication-manager alias="authenticationManager">
<s:authentication-provider user-service-ref="ldapUserDetailsService"/>
...
i was using
<s:authentication-provider user-service-ref="ldapUserDetailsService"/>
what is the 3.x way of doing this?