Interface AuthenticationDirective<T>
public interface AuthenticationDirective<T>
-
Method Summary
Modifier and TypeMethodDescriptionoptional()Returns a copy of thisAuthenticationDirectivethat will provideSome(user)if credentials were supplied and otherwiseNone.withAnonymousUser(T anonymous) Returns a copy of thisAuthenticationDirectivethat uses the given object as the anonymous user which will be used if no credentials were supplied in the request.
-
Method Details
-
optional
Returns a copy of thisAuthenticationDirectivethat will provideSome(user)if credentials were supplied and otherwiseNone.- Returns:
- (undocumented)
-
withAnonymousUser
Returns a copy of thisAuthenticationDirectivethat uses the given object as the anonymous user which will be used if no credentials were supplied in the request.- Parameters:
anonymous- (undocumented)- Returns:
- (undocumented)
-