committed by
Rob Winch
parent
04bba36ee5
commit
79815e044e
+1
-1
@@ -39,7 +39,7 @@ import org.springframework.util.Assert;
|
||||
* It needs a <code>KerberosTicketValidator</code>, which contains the code to validate
|
||||
* the ticket, as this code is different between SUN and IBM JRE.<br>
|
||||
* It also needs an <code>UserDetailsService</code> to load the user properties and the
|
||||
* <code>GrantedAuthorities</code>, as we only get back the username from Kerbeos
|
||||
* <code>GrantedAuthorities</code>, as we only get back the username from Kerberos
|
||||
* </p>
|
||||
*
|
||||
* You can see an example configuration in
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ public interface KerberosTicketValidator {
|
||||
|
||||
/**
|
||||
* Validates a Kerberos/SPNEGO ticket.
|
||||
* @param token Kerbeos/SPNEGO ticket
|
||||
* @param token Kerberos/SPNEGO ticket
|
||||
* @return authenticated kerberos principal
|
||||
* @throws BadCredentialsException if the ticket is not valid
|
||||
*/
|
||||
|
||||
+2
-2
@@ -76,7 +76,7 @@ import org.springframework.web.filter.OncePerRequestFilter;
|
||||
* </sec:authentication-manager>
|
||||
*
|
||||
* <bean id="kerberosServiceAuthenticationProvider"
|
||||
* class="org.springframework.security.kerberos.authenitcation.KerberosServiceAuthenticationProvider">
|
||||
* class="org.springframework.security.kerberos.authentication.KerberosServiceAuthenticationProvider">
|
||||
* <property name="ticketValidator">
|
||||
* <bean class="org.springframework.security.kerberos.authentication.sun.SunJaasKerberosTicketValidator">
|
||||
* <property name="servicePrincipal" value="HTTP/web.springsource.com" />
|
||||
@@ -103,7 +103,7 @@ import org.springframework.web.filter.OncePerRequestFilter;
|
||||
* <a href="https://bugs.sun.com/view_bug.do?bug_id=6851973">bug</a>.
|
||||
* </p>
|
||||
* <p>
|
||||
* A workaround unti this is fixed in the JVM is to change
|
||||
* A workaround until this is fixed in the JVM is to change
|
||||
* </p>
|
||||
* HKEY_LOCAL_MACHINE\System \CurrentControlSet\Control\LSA\SuppressExtendedProtection to
|
||||
* 0x02
|
||||
|
||||
Reference in New Issue
Block a user