List of usage examples for org.apache.shiro.authc.pam FirstSuccessfulStrategy subclass-usage
From source file lib.security.RethrowingFirstSuccessfulStrategy.java
public class RethrowingFirstSuccessfulStrategy extends FirstSuccessfulStrategy { private static final Logger log = LoggerFactory.getLogger(RethrowingFirstSuccessfulStrategy.class); @Override public AuthenticationInfo afterAttempt(Realm realm, AuthenticationToken token, AuthenticationInfo singleRealmInfo, AuthenticationInfo aggregateInfo, Throwable t)
From source file org.killbill.billing.server.security.FirstSuccessfulStrategyWith540.java
public class FirstSuccessfulStrategyWith540 extends FirstSuccessfulStrategy { public boolean continueAfterAttempt(final AuthenticationInfo singleRealmInfo, final AuthenticationInfo aggregateInfo, final Throwable t) { return !(aggregateInfo != null && aggregateInfo == singleRealmInfo); }
From source file waffle.shiro.dynamic.DynamicAuthenticationStrategy.java
/**
* Custom authentication strategy for the Negotiate logic required for SSO/Negotiate auth realm
* {@link NegotiateAuthenticationRealm}. When the negotiate logic is executing, one of more round trips with the client
* occur. When the {@link NegotiateAuthenticationRealm negotiate realm} determines another handshake is needed, it
* throws the exception: {@link AuthenticationInProgressException}. This custom strategy detects this exception,
* and immediately re-throws it so classes higher up in the call stack will allow the handshake to proceed.