Interface AuthenticationDirective<T>
public interface AuthenticationDirective<T>
- 
Method SummaryModifier 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- 
optionalReturns a copy of thisAuthenticationDirectivethat will provideSome(user)if credentials were supplied and otherwiseNone.- Returns:
- (undocumented)
 
- 
withAnonymousUserReturns 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)
 
 
-