| Modifier and Type | Method and Description | 
|---|---|
| javax.ws.rs.core.Response | AuthorizationResource. deleteUserRoles(Application.Name applicationName,
               UserInfo.Username userID,
               String authorizationHeader)Delete a user's role within an application | 
| javax.ws.rs.core.Response | AuthorizationResource. getUserAppPermissions(UserInfo.Username userID,
                     Application.Name applicationName,
                     String authorizationHeader)Get permissions of one user within a single application | 
| javax.ws.rs.core.Response | FeedbackResource. getUserFeedback(UserInfo.Username username,
               String authorizationHeader)Get user feedback | 
| javax.ws.rs.core.Response | AuthorizationResource. getUserPermissions(UserInfo.Username userID,
                  String authorizationHeader)Get permissions for a user across applications | 
| javax.ws.rs.core.Response | AuthorizationResource. getUserRole(UserInfo.Username userID,
           String authorizationHeader)Get user role | 
| javax.ws.rs.core.Response | EmailResource. postEmail(Application.Name applicationName,
         UserInfo.Username user,
         EmailLinksList emails)Sends an email to all the administrators of the specified application to ask for permission for the
 specified user. | 
| Modifier and Type | Method and Description | 
|---|---|
| UserInfo.Username | UserInfo.Username.Deserializer. deserialize(com.fasterxml.jackson.core.JsonParser parser,
           com.fasterxml.jackson.databind.DeserializationContext context) | 
| UserInfo.Username | UserInfo. getUsername() | 
| UserInfo.Username | LoginCredentials. getUsername() | 
| static UserInfo.Username | UserInfo.Username. valueOf(String value) | 
| Modifier and Type | Method and Description | 
|---|---|
| static UserInfo.Builder | UserInfo. from(UserInfo.Username username) | 
| static UserInfo.Builder | UserInfo. newInstance(UserInfo.Username username) | 
| void | UserInfo.Username.Serializer. serialize(UserInfo.Username username,
         com.fasterxml.jackson.core.JsonGenerator generator,
         com.fasterxml.jackson.databind.SerializerProvider provider) | 
| void | UserInfo. setUsername(UserInfo.Username username) | 
| void | LoginCredentials. setUsername(UserInfo.Username username) | 
| static LoginCredentials.Builder | LoginCredentials. withUsername(UserInfo.Username username) | 
| Constructor and Description | 
|---|
| Builder(UserInfo.Username username) | 
| Modifier and Type | Method and Description | 
|---|---|
| UserInfo.Username | Authorization. getUser(String authHeader)Returns user name from the given auth header | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Authorization. checkSuperAdmin(UserInfo.Username userID)Verifies super admin permissions for the given user name (ID) | 
| void | Authorization. checkUserPermissions(UserInfo.Username userID,
                    Application.Name applicationName,
                    Permission permission)Verifies permission for the given user name (ID) within the application,
 throws AuthenticationException if not a valid permission | 
| void | Authorization. deleteUserRole(UserInfo.Username userID,
              Application.Name applicationName,
              UserInfo admin)Deletes a user role for the given user name (ID) within the given application name | 
| UserInfo | Authorization. getUserInfo(UserInfo.Username userID)Retrieves the full  UserInfofor the givenUserInfo.Username | 
| UserPermissions | Authorization. getUserPermissions(UserInfo.Username userID,
                  Application.Name applicationName)Returns permissions for given user within the application | 
| UserPermissionsList | Authorization. getUserPermissionsList(UserInfo.Username userID)Returns a list of user permissions for the given user name (ID) | 
| UserRoleList | Authorization. getUserRoleList(UserInfo.Username userID)Returns list of user roles for the given user name (ID) | 
| Modifier and Type | Method and Description | 
|---|---|
| UserInfo.Username | DefaultAuthorization. getUser(String authHeader) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DefaultAuthorization. checkSuperAdmin(UserInfo.Username userID) | 
| void | DefaultAuthorization. checkUserPermissions(UserInfo.Username userID,
                    Application.Name applicationName,
                    Permission permission) | 
| void | DefaultAuthorization. deleteUserRole(UserInfo.Username userID,
              Application.Name applicationName,
              UserInfo admin) | 
| UserInfo | DefaultAuthorization. getUserInfo(UserInfo.Username userID) | 
| UserPermissions | DefaultAuthorization. getUserPermissions(UserInfo.Username userID,
                  Application.Name applicationName) | 
| UserPermissionsList | DefaultAuthorization. getUserPermissionsList(UserInfo.Username userID) | 
| UserRoleList | DefaultAuthorization. getUserRoleList(UserInfo.Username userID) | 
| Modifier and Type | Method and Description | 
|---|---|
| UserInfo.Username | UserRole. getUserID() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | UserRole. setUserID(UserInfo.Username userID) | 
| UserRole.Builder | UserRole.Builder. withUserID(UserInfo.Username userID) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | EmailTextProcessor. getMessage(Application.Name app,
          UserInfo.Username username,
          EmailLinksList links)Get's the message for permission access to a certain  Application. | 
| void | EmailService. sendEmailForUserPermission(Application.Name appName,
                          UserInfo.Username user,
                          EmailLinksList links)Sends an Email to the Administrators of the specified application and requests
 access for the User. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | EmailTextProcessorImpl. getMessage(Application.Name app,
          UserInfo.Username username,
          EmailLinksList links)Get's the message for permission access to a certain  Application. | 
| void | NoopEmailImpl. sendEmailForUserPermission(Application.Name appName,
                          UserInfo.Username user,
                          EmailLinksList links) | 
| void | EmailServiceImpl. sendEmailForUserPermission(Application.Name appName,
                          UserInfo.Username user,
                          EmailLinksList links)Sends an Email to the Administrators of the specified application and requests
 access for the User. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<UserFeedback> | Feedback. getUserFeedback(UserInfo.Username userName)Retrieve user feedback from repository with the specified userName. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<UserFeedback> | FeedbackImpl. getUserFeedback(UserInfo.Username username) | 
| Modifier and Type | Method and Description | 
|---|---|
| UserInfo.Username | UserFeedback. getUsername() | 
| Modifier and Type | Method and Description | 
|---|---|
| static UserFeedback.Builder | UserFeedback. newInstance(UserInfo.Username username) | 
| void | UserFeedback. setUsername(UserInfo.Username username) | 
| Modifier and Type | Method and Description | 
|---|---|
| UserPermissions | AuthorizationRepository. checkSuperAdminPermissions(UserInfo.Username userID,
                          Application.Name applicationName)Check super user permissions | 
| void | AuthorizationRepository. deleteUserRole(UserInfo.Username userID,
              Application.Name applicationName)Delete user role | 
| List<UserFeedback> | FeedbackRepository. getUserFeedback(UserInfo.Username username)Get user feedback for user | 
| UserInfo | AuthorizationRepository. getUserInfo(UserInfo.Username userID)Get user info | 
| UserPermissions | AuthorizationRepository. getUserPermissions(UserInfo.Username userID,
                  Application.Name applicationName)Get user permissions | 
| UserPermissionsList | AuthorizationRepository. getUserPermissionsList(UserInfo.Username userID)Get user permissions | 
| UserRoleList | AuthorizationRepository. getUserRoleList(UserInfo.Username userID)Get user role list | 
| Modifier and Type | Method and Description | 
|---|---|
| com.netflix.astyanax.model.ColumnFamily<UserInfo.Username,String> | ExperimentsKeyspaceImpl. feedbackCF() | 
| com.netflix.astyanax.model.ColumnFamily<UserInfo.Username,String> | ExperimentsKeyspace. feedbackCF() | 
| com.netflix.astyanax.model.ColumnFamily<UserInfo.Username,String> | ExperimentsKeyspaceImpl. userInfoCF() | 
| com.netflix.astyanax.model.ColumnFamily<UserInfo.Username,String> | ExperimentsKeyspace. userInfoCF() | 
| com.netflix.astyanax.model.ColumnFamily<UserInfo.Username,String> | ExperimentsKeyspaceImpl. userRolesCF() | 
| com.netflix.astyanax.model.ColumnFamily<UserInfo.Username,String> | ExperimentsKeyspace. userRolesCF() | 
| Modifier and Type | Method and Description | 
|---|---|
| UserPermissions | CassandraAuthorizationRepository. checkSuperAdminPermissions(UserInfo.Username userID,
                          Application.Name applicationName)Check super user permissions | 
| void | CassandraAuthorizationRepository. deleteUserRole(UserInfo.Username userID,
              Application.Name applicationName) | 
| List<UserFeedback> | CassandraFeedbackRepository. getUserFeedback(UserInfo.Username username)Get user feedback for user | 
| UserInfo | CassandraAuthorizationRepository. getUserInfo(UserInfo.Username userID)Get user info | 
| UserPermissions | CassandraAuthorizationRepository. getUserPermissions(UserInfo.Username userID,
                  Application.Name applicationName) | 
| UserPermissionsList | CassandraAuthorizationRepository. getUserPermissionsList(UserInfo.Username userID) | 
| UserRoleList | CassandraAuthorizationRepository. getUserRoleList(UserInfo.Username userID)Get user role list | 
| Modifier and Type | Method and Description | 
|---|---|
| UserInfo.Username | UsernameSerializer. fromByteBuffer(ByteBuffer byteBuffer) | 
| Modifier and Type | Method and Description | 
|---|---|
| ByteBuffer | UsernameSerializer. toByteBuffer(UserInfo.Username value) | 
| Modifier and Type | Method and Description | 
|---|---|
| UserInfo | UserDirectory. lookupUser(UserInfo.Username username) | 
| Modifier and Type | Method and Description | 
|---|---|
| UserInfo | DefaultUserDirectory. lookupUser(UserInfo.Username username) | 
Copyright © 2016. All rights reserved.