This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| iam = { | |
| aws = { | |
| # Additional IAM users to add to the aws-auth configmap. | |
| map_users = [ | |
| # { | |
| # userarn = "arn:aws:iam::66666666666:user/user1" | |
| # username = "user1" | |
| # groups = ["system:masters"] | |
| # } | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.text.SimpleDateFormat | |
| import java.util.LinkedHashMap | |
| import java.util.Map | |
| import java.util.TimeZone | |
| import java.util.concurrent.TimeUnit | |
| import javax.crypto.Mac | |
| import javax.crypto.spec.SecretKeySpec | |
| import org.apache.commons.codec.binary.Hex | |
| import org.apache.commons.codec.digest.DigestUtils | |
| import org.apache.commons.lang3.StringUtils |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * This snippet will allow you to get globally shared properties that you place within the | |
| * `property_file_values` database table. | |
| */ | |
| import org.openiam.idm.srvc.property.service.PropertyValueCache | |
| import org.springframework.context.ApplicationContext | |
| ApplicationContext appContext = (ApplicationContext) context | |
| PropertyValueCache propertyValueCache = appContext.getBean(PropertyValueCache.class) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * This snippet allows you to find an organisation entity by name | |
| */ | |
| import java.util.List | |
| import org.apache.commons.logging.Log | |
| import org.apache.commons.logging.LogFactory | |
| import org.openiam.base.ws.MatchType | |
| import org.openiam.base.ws.SearchParam | |
| import org.openiam.common.beans.mq.OrganizationRabbitMQService | |
| import org.openiam.idm.searchbeans.OrganizationSearchBean |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package selfservice | |
| import org.apache.commons.logging.Log | |
| import org.apache.commons.logging.LogFactory | |
| import org.openiam.ui.login.DefaultLoginPageDisplayHandler | |
| import org.openiam.ui.model.Hyperlink | |
| class CustomLoginPageDisplayHandler extends DefaultLoginPageDisplayHandler { | |
| private static final Log log = LogFactory.getLog("CustomLoginPageDisplayHandler") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.List | |
| import org.apache.commons.logging.Log | |
| import org.apache.commons.logging.LogFactory | |
| import org.openiam.base.ws.MatchType | |
| import org.openiam.base.ws.SearchParam | |
| import org.openiam.common.beans.mq.UserRabbitMQService | |
| import org.openiam.idm.searchbeans.UserSearchBean | |
| import org.openiam.idm.srvc.user.dto.User | |
| import org.openiam.idm.srvc.user.dto.UserCollection | |
| import org.openiam.idm.srvc.user.dto.UserStatusEnum |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.List | |
| import org.apache.commons.logging.Log | |
| import org.apache.commons.logging.LogFactory | |
| import org.openiam.base.ws.MatchType | |
| import org.openiam.base.ws.SearchParam | |
| import org.openiam.common.beans.mq.UserRabbitMQService | |
| import org.openiam.idm.searchbeans.UserSearchBean | |
| import org.openiam.idm.srvc.user.dto.User | |
| import org.openiam.idm.srvc.user.dto.UserCollection | |
| import org.openiam.idm.srvc.user.dto.UserStatusEnum |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.List | |
| import org.apache.commons.logging.Log | |
| import org.apache.commons.logging.LogFactory | |
| import org.openiam.base.request.BaseSearchServiceRequest | |
| import org.openiam.base.request.BaseServiceRequest | |
| import org.openiam.base.response.data.IntResponse | |
| import org.openiam.base.response.data.BaseDataResponse | |
| import org.openiam.base.ws.MatchType | |
| import org.openiam.base.ws.SearchParam | |
| import org.openiam.common.beans.mq.RabbitMQSender |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.List | |
| import org.apache.commons.logging.Log | |
| import org.apache.commons.logging.LogFactory | |
| import org.openiam.idm.searchbeans.UserSearchBean | |
| import org.openiam.idm.srvc.user.dto.User | |
| import org.openiam.srvc.user.UserDataWebService | |
| import org.springframework.context.ApplicationContext | |
| // Dependencies | |
| Log log = LogFactory.getLog("findUserTest") // Logging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.List | |
| import org.apache.commons.logging.Log | |
| import org.apache.commons.logging.LogFactory | |
| import org.openiam.idm.searchbeans.UserSearchBean | |
| import org.openiam.idm.srvc.user.dto.User | |
| import org.openiam.srvc.user.UserDataWebService | |
| import org.springframework.context.ApplicationContext | |
| // Dependencies | |
| Log log = LogFactory.getLog("findUserTest") // Logging |
OlderNewer