org.wso2.carbon.identity.application.common.model.Property.setDisplayOrder()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(9.6k)|赞(0)|评价(0)|浏览(70)

本文整理了Java中org.wso2.carbon.identity.application.common.model.Property.setDisplayOrder()方法的一些代码示例,展示了Property.setDisplayOrder()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Property.setDisplayOrder()方法的具体详情如下:
包路径:org.wso2.carbon.identity.application.common.model.Property
类名称:Property
方法名:setDisplayOrder

Property.setDisplayOrder介绍

暂无

代码示例

代码示例来源:origin: wso2/carbon-identity-framework

property.setDescription(element.getText());
} else if ("DisplayOrder".equals(elementName)) {
  property.setDisplayOrder(Integer.parseInt(element.getText()));
} else if ("Type".equals(elementName)) {
  property.setType(element.getText());

代码示例来源:origin: org.wso2.carbon.identity/org.wso2.carbon.identity.application.common

property.setDescription(element.getText());
} else if ("DisplayOrder".equals(elementName)) {
  property.setDisplayOrder(Integer.parseInt(element.getText()));
} else if ("Type".equals(elementName)) {
  property.setType(element.getText());

代码示例来源:origin: org.wso2.carbon.identity/org.wso2.carbon.identity.application.authenticator.social

/**
 * Get Configuration Properties
 *
 * @return
 */
@Override
public List<Property> getConfigurationProperties() {
  List<Property> configProperties = new ArrayList<Property>();
  Property oauthEndpoint = new Property();
  oauthEndpoint.setDisplayName("Yahoo Authentication Endpoint");
  oauthEndpoint.setName(YahooOpenIDAuthenticatorConstants.YAHOO_AUTHZ_URL);
  oauthEndpoint.setValue(IdentityApplicationConstants.YAHOO_AUTHZ_URL);
  oauthEndpoint.setDescription("Enter value corresponding to yahoo oauth endpoint.");
  oauthEndpoint.setDisplayOrder(1);
  configProperties.add(oauthEndpoint);
  return configProperties;
}

代码示例来源:origin: org.wso2.carbon.identity.outbound.provisioning.scim2/org.wso2.carbon.identity.provisioning.connector.scim2

username.setName(SCIM2ProvisioningConnectorConstants.SCIM_USERNAME);
username.setDisplayName("Username");
username.setDisplayOrder(1);
username.setRequired(true);
userPassword.setDisplayName("Password");
userPassword.setConfidential(true);
userPassword.setDisplayOrder(2);
userPassword.setRequired(true);
userEndpoint.setName(SCIM2ProvisioningConnectorConstants.SCIM_USER_EP);
userEndpoint.setDisplayName("User Endpoint");
userEndpoint.setDisplayOrder(3);
userEndpoint.setRequired(true);
groupEndpoint.setName(SCIM2ProvisioningConnectorConstants.SCIM_GROUP_EP);
groupEndpoint.setDisplayName("Group Endpoint");
groupEndpoint.setDisplayOrder(4);
userStoreDomain.setDisplayOrder(5);
passwordProvisioning.setDisplayName("Enable Password Provisioning");
passwordProvisioning.setDescription("Enable User password provisioning to a SCIM2 domain");
passwordProvisioning.setDisplayOrder(6);
defaultPassword.setDisplayOrder(7);

代码示例来源:origin: org.wso2.carbon.identity/org.wso2.carbon.identity.application.authenticator.live

@Override
public List<Property> getConfigurationProperties() {
  List<Property> configProperties = new ArrayList<Property>();
  Property callbackUrl = new Property();
  callbackUrl.setDisplayName("Callback Url");
  callbackUrl.setName(IdentityApplicationConstants.OAuth2.CALLBACK_URL);
  callbackUrl.setDescription("Enter value corresponding to callback url.");
  callbackUrl.setDisplayOrder(3);
  configProperties.add(callbackUrl);
  Property clientId = new Property();
  clientId.setName(OIDCAuthenticatorConstants.CLIENT_ID);
  clientId.setDisplayName("Client Id");
  clientId.setRequired(true);
  clientId.setDescription("Enter Microsoft Live client identifier value");
  clientId.setDisplayOrder(1);
  configProperties.add(clientId);
  Property clientSecret = new Property();
  clientSecret.setName(OIDCAuthenticatorConstants.CLIENT_SECRET);
  clientSecret.setDisplayName("Client Secret");
  clientSecret.setRequired(true);
  clientSecret.setConfidential(true);
  clientSecret.setDescription("Enter Microsoft Live client secret value");
  clientSecret.setDisplayOrder(2);
  configProperties.add(clientSecret);
  return configProperties;
}

代码示例来源:origin: org.wso2.carbon.identity/org.wso2.carbon.identity.application.authenticator.social

clientId.setRequired(true);
clientId.setDescription("Enter Yahoo IDP client identifier value");
clientId.setDisplayOrder(1);
configProperties.add(clientId);
clientSecret.setConfidential(true);
clientSecret.setDescription("Enter Yahoo IDP client secret value");
clientSecret.setDisplayOrder(2);
configProperties.add(clientSecret);
callbackUrl.setName(IdentityApplicationConstants.OAuth2.CALLBACK_URL);
callbackUrl.setDescription("Enter value corresponding to callback url.");
callbackUrl.setDisplayOrder(3);
configProperties.add(callbackUrl);

代码示例来源:origin: org.wso2.carbon.identity/org.wso2.carbon.identity.application.authenticator.social

@Override
public List<Property> getConfigurationProperties() {
  List<Property> configProperties = new ArrayList<Property>();
  Property callbackUrl = new Property();
  callbackUrl.setDisplayName("Callback Url");
  callbackUrl.setName(IdentityApplicationConstants.OAuth2.CALLBACK_URL);
  callbackUrl.setDescription("Enter value corresponding to callback url.");
  callbackUrl.setDisplayOrder(3);
  configProperties.add(callbackUrl);
  Property clientId = new Property();
  clientId.setName(OIDCAuthenticatorConstants.CLIENT_ID);
  clientId.setDisplayName("Client Id");
  clientId.setRequired(true);
  clientId.setDescription("Enter Microsoft Live client identifier value");
  clientId.setDisplayOrder(1);
  configProperties.add(clientId);
  Property clientSecret = new Property();
  clientSecret.setName(OIDCAuthenticatorConstants.CLIENT_SECRET);
  clientSecret.setDisplayName("Client Secret");
  clientSecret.setRequired(true);
  clientSecret.setConfidential(true);
  clientSecret.setDescription("Enter Microsoft Live client secret value");
  clientSecret.setDisplayOrder(2);
  configProperties.add(clientSecret);
  return configProperties;
}

代码示例来源:origin: org.wso2.carbon.identity.outbound.auth.live/org.wso2.carbon.identity.application.authenticator.live

@Override
public List<Property> getConfigurationProperties() {
  List<Property> configProperties = new ArrayList<Property>();
  Property callbackUrl = new Property();
  callbackUrl.setDisplayName("Callback Url");
  callbackUrl.setName(IdentityApplicationConstants.OAuth2.CALLBACK_URL);
  callbackUrl.setDescription("Enter value corresponding to callback url.");
  callbackUrl.setDisplayOrder(3);
  configProperties.add(callbackUrl);
  Property clientId = new Property();
  clientId.setName(OIDCAuthenticatorConstants.CLIENT_ID);
  clientId.setDisplayName("Client Id");
  clientId.setRequired(true);
  clientId.setDescription("Enter Microsoft Live client identifier value");
  clientId.setDisplayOrder(1);
  configProperties.add(clientId);
  Property clientSecret = new Property();
  clientSecret.setName(OIDCAuthenticatorConstants.CLIENT_SECRET);
  clientSecret.setDisplayName("Client Secret");
  clientSecret.setRequired(true);
  clientSecret.setConfidential(true);
  clientSecret.setDescription("Enter Microsoft Live client secret value");
  clientSecret.setDisplayOrder(2);
  configProperties.add(clientSecret);
  return configProperties;
}

代码示例来源:origin: org.wso2.carbon.identity.outbound.auth.yahoo/org.wso2.carbon.identity.application.authenticator.yahoo

clientId.setRequired(true);
clientId.setDescription("Enter Yahoo IDP client identifier value");
clientId.setDisplayOrder(1);
configProperties.add(clientId);
clientSecret.setConfidential(true);
clientSecret.setDescription("Enter Yahoo IDP client secret value");
clientSecret.setDisplayOrder(2);
configProperties.add(clientSecret);
callbackUrl.setName(IdentityApplicationConstants.OAuth2.CALLBACK_URL);
callbackUrl.setDescription("Enter value corresponding to callback url.");
callbackUrl.setDisplayOrder(3);
configProperties.add(callbackUrl);

代码示例来源:origin: org.wso2.carbon.identity/org.wso2.carbon.identity.application.authenticator.social

clientId.setRequired(true);
clientId.setDescription("Enter Google IDP client identifier value");
clientId.setDisplayOrder(1);
configProperties.add(clientId);
clientSecret.setConfidential(true);
clientSecret.setDescription("Enter Google IDP client secret value");
clientSecret.setDisplayOrder(2);
configProperties.add(clientSecret);
callbackUrl.setName(IdentityApplicationConstants.OAuth2.CALLBACK_URL);
callbackUrl.setDescription("Enter value corresponding to callback url.");
callbackUrl.setDisplayOrder(3);
configProperties.add(callbackUrl);
scope.setValue("scope=openid email profile");
scope.setDescription("Additional query parameters. e.g: paramName1=value1");
scope.setDisplayOrder(4);
configProperties.add(scope);

代码示例来源:origin: org.wso2.carbon.identity.outbound.auth.google/org.wso2.carbon.identity.application.authenticator.google

clientId.setRequired(true);
clientId.setDescription("Enter Google IDP client identifier value");
clientId.setDisplayOrder(1);
configProperties.add(clientId);
clientSecret.setConfidential(true);
clientSecret.setDescription("Enter Google IDP client secret value");
clientSecret.setDisplayOrder(2);
configProperties.add(clientSecret);
callbackUrl.setName(IdentityApplicationConstants.OAuth2.CALLBACK_URL);
callbackUrl.setDescription("Enter value corresponding to callback url.");
callbackUrl.setDisplayOrder(3);
configProperties.add(callbackUrl);
scope.setValue("scope=openid email profile");
scope.setDescription("Additional query parameters. e.g: paramName1=value1");
scope.setDisplayOrder(4);
configProperties.add(scope);

代码示例来源:origin: wso2/carbon-identity-framework

property.setAdvanced(source.isAdvanced());
property.setDescription(source.getDescription());
property.setDisplayOrder(source.getDisplayOrder());
property.setRequired(source.isRequired());
property.setType(source.getType());

相关文章