使用BI平台RESTful SDK创建登录令牌

使用BI平台RESTful SDK创建登录令牌,rest,business-objects,business-objects-sdk,Rest,Business Objects,Business Objects Sdk,我正在尝试使用BOE BI平台RESTful SDK v4.1(使用)创建登录令牌 对http://server:6405/biprws/logon/long/返回: <attrs xmlns="http://www.sap.com/rws/bip"> <attr name="userName" type="string" /> <attr name="password" type="string" /> <attr name="auth

我正在尝试使用BOE BI平台RESTful SDK v4.1(使用)创建登录令牌

http://server:6405/biprws/logon/long/
返回:

<attrs xmlns="http://www.sap.com/rws/bip">
  <attr name="userName" type="string" /> 
  <attr name="password" type="string" /> 
  <attr name="auth" type="string" possibilities="secEnterprise,secLDAP,secWinAD,secSAPR3">secEnterprise</attr> 
</attrs>
<error>
  <error_code>RWS 00057</error_code>
  <message>Method not allowed (RWS 00057)</message>
</error>
返回:

<error>
    <error_code>FWM 00006</error_code>
    <message>Active Directory Authentication failed to log you on. Please contact your system administrator to make sure you are a member of a valid mapped group and try again. If you are not a member of the default domain, enter your user name as UserName@DNS_DomainName, and then try again. (FWM 00006)</message>
</error>
凭据可与BI启动板和CMC一起使用

我遗漏了什么?

首先,免责声明——我只使用SSO完成了REST WinAD,没有手动登录。所以我不能绝对肯定我下面的建议能解决你的问题

对/biprws/logon/adsso的调用需要GET而不是POST,但在SSO正常工作之前,这可能无法工作

WACS使用WinAD(带或不带SSO)需要一些设置。文件如下: SAP业务对象\SAP业务对象企业席4 \ java \ PJS \服务\ RESeWebService \ BPRWS \ Web-INF\Web.XML< 您将看到注释掉的部分,从以下内容开始:

<!--  Kerberos filter section starts
文件的格式不同(global.properties是一个简单的属性文件,但web.xml是xml)。因此,您不能仅复制/粘贴节,而是可以复制单个值。例如,在global.properties中,您可能会看到:

idm.keytab=C:/WINDOWS/bosso.keytab
这将在web.xml中完成,如下所示:

<init-param>
  <param-name>idm.keytab</param-name>
  <param-value>C:/WINDOWS/bosso.keytab</param-value>
  <description>
      The file containing the keytab that Kerberos will use for 
      user-to-service authentication. If unspecified, SSO will default 
      to using an in-memory keytab with a password specified in the 
      com.wedgetail.idm.sso.password environment variable.
  </description>
</init-param>

idm.keytab
C:/WINDOWS/bosso.keytab
包含Kerberos将用于的密钥表的文件
用户到服务的身份验证。如果未指定,则默认为SSO
使用在中指定密码的内存中密钥表
com.wedgetail.idm.sso.password环境变量。
两份参考资料:

首先,免责声明——我只使用SSO完成了REST WinAD,没有手动登录。所以我不能绝对肯定我下面的建议能解决你的问题

对/biprws/logon/adsso的调用需要GET而不是POST,但在SSO正常工作之前,这可能无法工作

WACS使用WinAD(带或不带SSO)需要一些设置。文件如下: SAP业务对象\SAP业务对象企业席4 \ java \ PJS \服务\ RESeWebService \ BPRWS \ Web-INF\Web.XML< 您将看到注释掉的部分,从以下内容开始:

<!--  Kerberos filter section starts
文件的格式不同(global.properties是一个简单的属性文件,但web.xml是xml)。因此,您不能仅复制/粘贴节,而是可以复制单个值。例如,在global.properties中,您可能会看到:

idm.keytab=C:/WINDOWS/bosso.keytab
这将在web.xml中完成,如下所示:

<init-param>
  <param-name>idm.keytab</param-name>
  <param-value>C:/WINDOWS/bosso.keytab</param-value>
  <description>
      The file containing the keytab that Kerberos will use for 
      user-to-service authentication. If unspecified, SSO will default 
      to using an in-memory keytab with a password specified in the 
      com.wedgetail.idm.sso.password environment variable.
  </description>
</init-param>

idm.keytab
C:/WINDOWS/bosso.keytab
包含Kerberos将用于的密钥表的文件
用户到服务的身份验证。如果未指定,则默认为SSO
使用在中指定密码的内存中密钥表
com.wedgetail.idm.sso.password环境变量。
两份参考资料:

相关:您是否让WinAD SSO在BI启动板中工作?您可以使用Windows AD身份验证,但SSO不起作用。相关:您是否让WinAD SSO在BI启动板中工作?您可以使用Windows AD身份验证,但SSO不起作用。