Class AthenzDbMock.Policy

  • Enclosing class:
    AthenzDbMock

    public static class AthenzDbMock.Policy
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Policy​(java.lang.String principal, java.lang.String action, java.lang.String resource)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean actionMatches​(java.lang.String operation)  
      boolean principalMatches​(com.yahoo.vespa.athenz.api.AthenzIdentity athenzIdentity)  
      boolean resourceMatches​(java.lang.String resource)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Policy

        public Policy​(java.lang.String principal,
                      java.lang.String action,
                      java.lang.String resource)
    • Method Detail

      • principalMatches

        public boolean principalMatches​(com.yahoo.vespa.athenz.api.AthenzIdentity athenzIdentity)
      • actionMatches

        public boolean actionMatches​(java.lang.String operation)
      • resourceMatches

        public boolean resourceMatches​(java.lang.String resource)