javax.security.enterprise.authentication.mechanism.http.LoginToContinue Java Examples

The following examples show how to use javax.security.enterprise.authentication.mechanism.http.LoginToContinue. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: LoginToContinueInterceptor.java    From tomee with Apache License 2.0 5 votes vote down vote up
private LoginToContinue getLoginToContinue(final InvocationContext invocationContext) {
    if (invocationContext.getTarget() instanceof LoginToContinueMechanism) {
        return ((LoginToContinueMechanism) invocationContext.getTarget()).getLoginToContinue();
    }

    throw new IllegalArgumentException();
}
 
Example #2
Source File: FormAuthenticationMechanism.java    From tomee with Apache License 2.0 4 votes vote down vote up
public LoginToContinue getLoginToContinue() {
    return loginToContinue.get();
}
 
Example #3
Source File: TomEESecurityExtension.java    From tomee with Apache License 2.0 4 votes vote down vote up
private Supplier<LoginToContinue> createLoginToContinueSupplier() {
    return () -> formAuthentication.iterator()
                           .next()
                           .getAnnotation(FormAuthenticationMechanismDefinition.class)
                           .loginToContinue();
}
 
Example #4
Source File: LoginToContinueMechanism.java    From tomee with Apache License 2.0 votes vote down vote up
LoginToContinue getLoginToContinue();