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()
boolean
hasRealmRole
(String role) boolean
hasResourceRole
(String role, String resource) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openremote.container.security.AuthContext
hasResourceRoleOrIsSuperUser, isRealmAccessibleByUser, isSuperUser
-
Constructor Details
-
BasicAuthContext
-
-
Method Details
-
getName
-
getAuthenticatedRealmName
- Specified by:
getAuthenticatedRealmName
in interfaceAuthContext
-
getUsername
- Specified by:
getUsername
in interfaceAuthContext
-
getUserId
- Specified by:
getUserId
in interfaceAuthContext
-
getClientId
- Specified by:
getClientId
in interfaceAuthContext
-
hasRealmRole
- Specified by:
hasRealmRole
in interfaceAuthContext
-
hasResourceRole
- Specified by:
hasResourceRole
in interfaceAuthContext
-