Class AuthenticatorImpl
- java.lang.Object
-
- com.swiftmq.impl.mgmt.standard.auth.AuthenticatorImpl
-
- All Implemented Interfaces:
Authenticator
public class AuthenticatorImpl extends java.lang.Object implements Authenticator
-
-
Constructor Summary
Constructors Constructor Description AuthenticatorImpl(SwiftletContext ctx, Role role)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCommandGranted(Entity entity, java.lang.String cmd)
boolean
isContextGranted(Entity entity)
boolean
isPropertyGranted(Entity entity, java.lang.String name)
boolean
isPropertyReadOnly(Entity entity, java.lang.String name)
boolean
roleStrip(Entity entity)
java.lang.String
toString()
-
-
-
Constructor Detail
-
AuthenticatorImpl
public AuthenticatorImpl(SwiftletContext ctx, Role role)
-
-
Method Detail
-
roleStrip
public boolean roleStrip(Entity entity) throws java.lang.Exception
- Throws:
java.lang.Exception
-
isContextGranted
public boolean isContextGranted(Entity entity)
- Specified by:
isContextGranted
in interfaceAuthenticator
-
isCommandGranted
public boolean isCommandGranted(Entity entity, java.lang.String cmd)
- Specified by:
isCommandGranted
in interfaceAuthenticator
-
isPropertyGranted
public boolean isPropertyGranted(Entity entity, java.lang.String name)
- Specified by:
isPropertyGranted
in interfaceAuthenticator
-
isPropertyReadOnly
public boolean isPropertyReadOnly(Entity entity, java.lang.String name)
- Specified by:
isPropertyReadOnly
in interfaceAuthenticator
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-