Class DefaultSecretHandlerPermissions

java.lang.Object
io.datarouter.secretweb.web.DefaultSecretHandlerPermissions
All Implemented Interfaces:
SecretHandlerPermissions

@Singleton
public class DefaultSecretHandlerPermissions
extends java.lang.Object
implements SecretHandlerPermissions
This allows all users to view the list of secrets on any environment and allows all other operations on every environment except production.
  • Constructor Summary

    Constructors 
    Constructor Description
    DefaultSecretHandlerPermissions()  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<java.lang.String> getAuthorizedUsers()  
    boolean isAuthorized​(io.datarouter.web.user.session.service.Session session, SecretHandlerOpRequestDto secretOpRequest)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait