A short test on Policy Agent's Session Attribute

Good article on Idira's blog regarding attribute passing feature in Policy Agent. But there are some attributes new to me so I'd like to take a try on possible attribute name, here is my configuration

com.sun.am.policy.agents.config.session.attribute.map=UserToken|AM_SES_USERTOKEN
,UserId|AM_SES_USERID,Principal|AM_SES_PRINCIPAL,Organization|AM_SES_ORGANIZATIO
N,Realm|AM_SES_REALM,AuthType|AM_SES_AUTHTYPE,AuthLevel|AM_SES_AUTHLEVEL,HostNam
e|AM_SES_HOSTNAME,Principal|AM_SES_PRINCIPAL,AMCtxId|AM_SES_CONTEXTID,sun.am.Uni
versalIdentifier|AM_SES_SUN.AM.UNIVERSALIDENTIFIER

And the result is (PA2.2 for SJSWS7)

  • am_ses_authlevel =

    0

  • am_ses_authtype =

    LDAP

  • am_ses_contextid =

    4b35f325f9d3c1de01

  • am_ses_hostname =

    192.168.159.1

  • am_ses_organization =

    dc=testdomain,dc=com

  • am_ses_principal =

    uid=budhead,ou=People,dc=testdomain,dc=com

  • am_ses_sun.am.universalidentifier =

    id=budhead,ou=user,dc=testdomain,dc=com

  • am_ses_userid =

    budhead

  • am_ses_usertoken =

    budhead

迴響:

發表迴響:
迴響功能已被關閉
About

純粹個人經驗分享,並非官方立場。

Search

Archives
« 四月 2014
星期日星期一星期二星期三星期四星期五星期六
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
今日