@Retention(value=RUNTIME)
@Inherited
@Target(value=TYPE)
public @interface HandleMissingAuthentication
Specify how to handle the case when interact user not authenticated
| Modifier and Type | Required Element and Description |
|---|---|
HandleMissingAuthentication.Option |
value
Specify the option to handle missing authentication case
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
custom
If the
value() is HandleMissingAuthentication.Option.CUSTOM, this field specifies the customer implementation. |
public abstract HandleMissingAuthentication.Option value
Specify the option to handle missing authentication case
public abstract java.lang.String custom
If the value() is HandleMissingAuthentication.Option.CUSTOM, this field specifies the customer implementation.
If the value() is HandleMissingAuthentication.Option.REDIRECT and this field is provided, then it specifies the login URL
Copyright © 2014–2017 ActFramework. All rights reserved.