Class BasicAuthContext
java.lang.Object
org.openremote.container.security.basic.BasicAuthContext
- All Implemented Interfaces:
Principal,AuthContext
Basic authorization, any user has all roles and is superuser.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()booleanhasRealmRole(String role) booleanhasResourceRole(String role, String resource) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openremote.container.security.AuthContext
hasResourceRoleOrIsSuperUser, isRealmAccessibleByUser, isSuperUser
-
Constructor Details
-
BasicAuthContext
-
-
Method Details
-
getName
-
getAuthenticatedRealmName
- Specified by:
getAuthenticatedRealmNamein interfaceAuthContext
-
getUsername
- Specified by:
getUsernamein interfaceAuthContext
-
getUserId
- Specified by:
getUserIdin interfaceAuthContext
-
getClientId
- Specified by:
getClientIdin interfaceAuthContext
-
hasRealmRole
- Specified by:
hasRealmRolein interfaceAuthContext
-
hasResourceRole
- Specified by:
hasResourceRolein interfaceAuthContext
-