Package com.yahoo.vespa.athenz.zpe
Class AuthorizationResult
- java.lang.Object
-
- com.yahoo.vespa.athenz.zpe.AuthorizationResult
-
public class AuthorizationResult extends Object
The various types of access control results.- Author:
- bjorncs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuthorizationResult.Type
-
Constructor Summary
Constructors Constructor Description AuthorizationResult(AuthorizationResult.Type type)
AuthorizationResult(AuthorizationResult.Type type, AthenzRole matchedRole)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
Optional<AthenzRole>
matchedRole()
String
toString()
AuthorizationResult.Type
type()
-
-
-
Constructor Detail
-
AuthorizationResult
public AuthorizationResult(AuthorizationResult.Type type)
-
AuthorizationResult
public AuthorizationResult(AuthorizationResult.Type type, AthenzRole matchedRole)
-
-
Method Detail
-
type
public AuthorizationResult.Type type()
-
matchedRole
public Optional<AthenzRole> matchedRole()
-
-