From: Instrumental Date: Fri, 18 May 2018 12:26:59 +0000 (-0500) Subject: Remove some attisms X-Git-Tag: Beijing-2.1.1~34 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aaf%2Fauthz.git;a=commitdiff_plain;h=88aec4e738343856f89f39972e0b87635b80e8c3 Remove some attisms Issue-ID: AAF-291 Change-Id: If20e87b3e1eb5738a32be448aa8219b04bd7520f Signed-off-by: Instrumental --- diff --git a/auth/auth-certman/src/main/config/.gitignore b/auth/auth-certman/src/main/config/.gitignore deleted file mode 100644 index e53ef90a..00000000 --- a/auth/auth-certman/src/main/config/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/log4j.properties diff --git a/auth/auth-certman/src/main/config/certman.props b/auth/auth-certman/src/main/config/certman.props deleted file mode 100644 index 1cd42f48..00000000 --- a/auth/auth-certman/src/main/config/certman.props +++ /dev/null @@ -1,22 +0,0 @@ -## -## AUTHZ Certman (authz-certman) Properties -## - -hostname=_HOSTNAME_ - -## DISCOVERY (DME2) Parameters on the Command Line -AFT_LATITUDE=_AFT_LATITUDE_ -AFT_LONGITUDE=_AFT_LONGITUDE_ -AFT_ENVIRONMENT=_AFT_ENVIRONMENT_ -DEPLOYED_VERSION=_ARTIFACT_VERSION_ - -## Pull in common/security properties - -cadi_prop_files=_COMMON_DIR_/com.att.aaf.common.props:_COMMON_DIR_/com.att.aaf.props - -##DME2 related parameters -DMEServiceName=service=com.att.authz.certman/version=_MAJOR_VER_._MINOR_VER_._PATCH_VER_/envContext=_ENV_CONTEXT_/routeOffer=_ROUTE_OFFER_ -AFT_DME2_PORT_RANGE=_AUTHZ_CERTMAN_PORT_RANGE_ - - - diff --git a/auth/auth-fs/src/main/config/.gitignore b/auth/auth-fs/src/main/config/.gitignore deleted file mode 100644 index e53ef90a..00000000 --- a/auth/auth-fs/src/main/config/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/log4j.properties diff --git a/auth/auth-fs/src/main/config/FileServer.props b/auth/auth-fs/src/main/config/FileServer.props deleted file mode 100644 index 9c123307..00000000 --- a/auth/auth-fs/src/main/config/FileServer.props +++ /dev/null @@ -1,23 +0,0 @@ -## -## AUTHZ API (authz-service) Properties -## - -hostname=_HOSTNAME_ - -## DISCOVERY (DME2) Parameters on the Command Line -AFT_LATITUDE=_AFT_LATITUDE_ -AFT_LONGITUDE=_AFT_LONGITUDE_ -AFT_ENVIRONMENT=_AFT_ENVIRONMENT_ -DEPLOYED_VERSION=_ARTIFACT_VERSION_ - -cadi_prop_files=/opt/app/aaf/common/com.att.aaf.common.props:/opt/app/aaf/common/com.att.aaf.props - -DMEServiceName=service=com.att.authz.authz-fs/version=_MAJOR_VER_._MINOR_VER_._PATCH_VER_/envContext=_ENV_CONTEXT_/routeOffer=_ROUTE_OFFER_ -AFT_DME2_PORT_RANGE=_AUTHZ_FS_PORT_RANGE_ -AFT_DME2_SSL_ENABLE=false -AFT_DME2_DISABLE_PERSISTENT_CACHE=true - -CFA_WebPath=/opt/app/aaf/public -CFA_ClearCommand=FmzYPpMY918MwE1hyacoiFSt -CFA_MaxSize=2000000 - diff --git a/auth/auth-gui/src/main/config/.gitignore b/auth/auth-gui/src/main/config/.gitignore deleted file mode 100644 index 04cdc540..00000000 --- a/auth/auth-gui/src/main/config/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/authGUI.props -/log4j.properties diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApiDocs.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApiDocs.java index 05ee21b0..40d57c95 100644 --- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApiDocs.java +++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApiDocs.java @@ -96,10 +96,7 @@ public class ApiDocs extends Page { .leaf(HTMLGen.LI).text("The Client must utilize HTTP/S. Non Secure HTTP is not acceptable").end() .leaf(HTMLGen.LI).text("The Client MUST supply an Identity validated by one of the following mechanisms").end() .incr(HTMLGen.UL) - .leaf(HTMLGen.LI).text("Valid Global Login Cookie (CSP)").end() - .leaf(HTMLGen.LI).text("BASIC AUTH protocol using CSO Registered MechID, provisioned in AAF").end() - .leaf(HTMLGen.LI).text("BASIC AUTH protocol using ATTUID@csp.att.com, Global Login Password").end() - .leaf(HTMLGen.LI).text("(Available 3rd Qtr 2015) Valid tGuard Login Cookie").end() + .leaf(HTMLGen.LI).text("BASIC AUTH protocol using Organization Registered AppID, provisioned in AAF").end() .leaf(HTMLGen.LI).text("(Near Future) Application level Certificate").end() .end() .end() diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/NsDetail.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/NsDetail.java index 5df050bf..8c442dd7 100644 --- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/NsDetail.java +++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/NsDetail.java @@ -61,7 +61,6 @@ public class NsDetail extends Page { public static final String HREF = "/gui/nsdetail"; public static final String NAME = "NsDetail"; - static final String WEBPHONE = "http://webphone.att.com/cgi-bin/webphones.pl?id="; public static enum NS_FIELD { OWNERS, ADMINS, ROLES, PERMISSIONS, CREDS}; private static final String BLANK = ""; private static Slot keySlot; @@ -91,7 +90,6 @@ public class NsDetail extends Page { * */ private static class Model extends TableData { - private static final String CSP_ATT_COM = "@csp.att.com"; private NsDetail nd; public void set(NsDetail nsDetail) { @@ -197,8 +195,7 @@ public class NsDetail extends Page { for (int i=0; i< values.size(); i++) { AbsCell label = (i==0?new TextCell(sentenceCase(field)+":"):AbsCell.Null); String user = values.get(i); - AbsCell userCell = (user.endsWith(CSP_ATT_COM)? - new RefCell(user,WEBPHONE + user.substring(0,user.indexOf('@')),true):new TextCell(user)); + AbsCell userCell = (new TextCell(user)); rv.add(new AbsCell[] { label, userCell diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/NsHistory.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/NsHistory.java index 414f992f..1bffbb6f 100644 --- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/NsHistory.java +++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/NsHistory.java @@ -37,7 +37,6 @@ import org.onap.aaf.auth.gui.Page; import org.onap.aaf.auth.gui.Table; import org.onap.aaf.auth.gui.Table.Cells; import org.onap.aaf.auth.gui.table.AbsCell; -import org.onap.aaf.auth.gui.table.RefCell; import org.onap.aaf.auth.gui.table.TableData; import org.onap.aaf.auth.gui.table.TextCell; import org.onap.aaf.cadi.CadiException; @@ -146,7 +145,6 @@ public class NsHistory extends Page { * */ private static class Model extends TableData { - private static final String CSP_ATT_COM = "@csp.att.com"; private static final String[] headers = new String[] {"Date","User","Memo"}; private Slot name; private Slot dates; @@ -196,8 +194,7 @@ public class NsHistory extends Page { for (Item i : histItems) { String user = i.getUser(); - AbsCell userCell = (user.endsWith(CSP_ATT_COM)? - new RefCell(user,WEBPHONE + user.substring(0,user.indexOf('@')),true):new TextCell(user)); + AbsCell userCell = new TextCell(user); rv.add(new AbsCell[] { new TextCell(i.getTimestamp().toGregorianCalendar().getTime().toString()), diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/PendingRequestsShow.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/PendingRequestsShow.java index a42d6b0b..9d2b2cb0 100644 --- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/PendingRequestsShow.java +++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/PendingRequestsShow.java @@ -107,7 +107,6 @@ public class PendingRequestsShow extends Page { * */ private static class Model extends TableData { - private static final String CSP_ATT_COM = "@csp.att.com"; final long NUM_100NS_INTERVALS_SINCE_UUID_EPOCH = 0x01b21dd213814000L; private static final String[] headers = new String[] {"Request Date","Status","Memo","Approver"}; @@ -157,12 +156,7 @@ public class PendingRequestsShow extends Page { prevTicket = ticket; } - AbsCell approverCell = null; - if (approver.endsWith(CSP_ATT_COM)) { - approverCell = new RefCell(approver, WEBPHONE + approverShort,true); - } else { - approverCell = new TextCell(approver); - } + AbsCell approverCell = new TextCell(approver); AbsCell[] sa = new AbsCell[] { tsCell, new TextCell(a.getStatus()), diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/PermHistory.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/PermHistory.java index 45f8b22e..64a0db17 100644 --- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/PermHistory.java +++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/PermHistory.java @@ -38,7 +38,6 @@ import org.onap.aaf.auth.gui.Page; import org.onap.aaf.auth.gui.Table; import org.onap.aaf.auth.gui.Table.Cells; import org.onap.aaf.auth.gui.table.AbsCell; -import org.onap.aaf.auth.gui.table.RefCell; import org.onap.aaf.auth.gui.table.TableData; import org.onap.aaf.auth.gui.table.TextCell; import org.onap.aaf.cadi.CadiException; @@ -153,7 +152,6 @@ public class PermHistory extends Page { * */ private static class Model extends TableData { - private static final String CSP_ATT_COM = "@csp.att.com"; private static final String[] headers = new String[] {"Date","User","Memo"}; private Slot sType; private Slot sDates; @@ -208,8 +206,7 @@ public class PermHistory extends Page { for (Item i : histItems) { String user = i.getUser(); - AbsCell userCell = (user.endsWith(CSP_ATT_COM)? - new RefCell(user,WEBPHONE + user.substring(0,user.indexOf('@')),true):new TextCell(user)); + AbsCell userCell = new TextCell(user); rv.add(new AbsCell[] { new TextCell(i.getTimestamp().toGregorianCalendar().getTime().toString()), diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/RequestDetail.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/RequestDetail.java index 852bbd44..626b7da5 100644 --- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/RequestDetail.java +++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/RequestDetail.java @@ -36,7 +36,6 @@ import org.onap.aaf.auth.gui.Page; import org.onap.aaf.auth.gui.Table; import org.onap.aaf.auth.gui.Table.Cells; import org.onap.aaf.auth.gui.table.AbsCell; -import org.onap.aaf.auth.gui.table.RefCell; import org.onap.aaf.auth.gui.table.TableData; import org.onap.aaf.auth.gui.table.TextCell; import org.onap.aaf.cadi.CadiException; @@ -71,8 +70,6 @@ public class RequestDetail extends Page { * */ private static class Model extends TableData { - static final String WEBPHONE = "http://webphone.att.com/cgi-bin/webphones.pl?id="; - private static final String CSP_ATT_COM = "@csp.att.com"; final long NUM_100NS_INTERVALS_SINCE_UUID_EPOCH = 0x01b21dd213814000L; private Slot sTicket; public Model(AuthzEnv env) { @@ -117,12 +114,7 @@ public class RequestDetail extends Page { }); rv.add(new AbsCell[]{new TextCell("Operation:"),new TextCell(decodeOp(approval.getOperation()),"colspan=3")}); String user = approval.getUser(); - if (user.endsWith(CSP_ATT_COM)) { - rv.add(new AbsCell[]{new TextCell("User:"), - new RefCell(user,WEBPHONE + user.substring(0, user.indexOf("@")),true,"colspan=3")}); - } else { - rv.add(new AbsCell[]{new TextCell("User:"),new TextCell(user,"colspan=3")}); - } + rv.add(new AbsCell[]{new TextCell("User:"),new TextCell(user,"colspan=3")}); // headers for listing each approver rv.add(new AbsCell[]{new TextCell(" ","colspan=4","class=blank_line")}); @@ -137,15 +129,7 @@ public class RequestDetail extends Page { approverLine[0] = AbsCell.Null; } - String approver = approval.getApprover(); - String approverShort = approver.substring(0,approver.indexOf('@')); - - if (approver.endsWith(CSP_ATT_COM)) { - approverLine[1] = new RefCell(approver, WEBPHONE + approverShort,true); - } else { - approverLine[1] = new TextCell(approval.getApprover()); - } - + approverLine[1] = new TextCell(approval.getApprover()); String type = approval.getType(); if ("owner".equalsIgnoreCase(type)) { type = "resource owner"; diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/RoleHistory.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/RoleHistory.java index e80a5917..7b07b60d 100644 --- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/RoleHistory.java +++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/RoleHistory.java @@ -146,7 +146,6 @@ public class RoleHistory extends Page { * */ private static class Model extends TableData { - private static final String CSP_ATT_COM = "@csp.att.com"; private static final String[] headers = new String[] {"Date","User","Memo"}; private Slot role; private Slot dates; @@ -195,8 +194,7 @@ public class RoleHistory extends Page { for (Item i : histItems) { String user = i.getUser(); - AbsCell userCell = (user.endsWith(CSP_ATT_COM)? - new RefCell(user,WEBPHONE + user.substring(0,user.indexOf('@')),false):new TextCell(user)); + AbsCell userCell = new TextCell(user); rv.add(new AbsCell[] { new TextCell(i.getTimestamp().toGregorianCalendar().getTime().toString()), diff --git a/auth/auth-hello/src/main/config/.gitignore b/auth/auth-hello/src/main/config/.gitignore deleted file mode 100644 index b8a5bee8..00000000 --- a/auth/auth-hello/src/main/config/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/log4j.properties -/logging.properties diff --git a/auth/auth-hello/src/main/config/hello.props b/auth/auth-hello/src/main/config/hello.props deleted file mode 100644 index 055b15fb..00000000 --- a/auth/auth-hello/src/main/config/hello.props +++ /dev/null @@ -1,29 +0,0 @@ -## -## AUTHZ GUI (authz-gui) Properties -## - -hostname=_HOSTNAME_ - -## DISCOVERY (DME2) Parameters on the Command Line -AFT_LATITUDE=_AFT_LATITUDE_ -AFT_LONGITUDE=_AFT_LONGITUDE_ -AFT_ENVIRONMENT=_AFT_ENVIRONMENT_ -DEPLOYED_VERSION=_ARTIFACT_VERSION_ - -## Pull in common/security properties - -cadi_prop_files=_COMMON_DIR_/com.att.aaf.common.props:_COMMON_DIR_/com.att.aaf.props - -##DME2 related parameters -DMEServiceName=service=com.att.authz.authz-gui/version=_MAJOR_VER_._MINOR_VER_._PATCH_VER_/envContext=_ENV_CONTEXT_/routeOffer=_ROUTE_OFFER_ -AFT_DME2_PORT_RANGE=_AUTHZ_HELLO_PORT_RANGE_ - -# Turn on both AAF TAF & LUR 2.0 -aaf_url=https://DME2RESOLVE/service=com.att.authz.AuthorizationService/version=_MAJOR_VER_._MINOR_VER_/envContext=_ENV_CONTEXT_/routeOffer=_ROUTE_OFFER_ -# 1 min cache changes (when left alone) -aaf_user_expires=60000 - -# CSP -csp_domain=PROD - - diff --git a/auth/auth-locate/src/main/config/.gitignore b/auth/auth-locate/src/main/config/.gitignore deleted file mode 100644 index 429128d5..00000000 --- a/auth/auth-locate/src/main/config/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/authGW.props -/log4j.properties diff --git a/auth/auth-oauth/src/main/config/.gitignore b/auth/auth-oauth/src/main/config/.gitignore deleted file mode 100644 index e53ef90a..00000000 --- a/auth/auth-oauth/src/main/config/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/log4j.properties diff --git a/auth/auth-oauth/src/main/config/oauth.props b/auth/auth-oauth/src/main/config/oauth.props deleted file mode 100644 index cdd382d1..00000000 --- a/auth/auth-oauth/src/main/config/oauth.props +++ /dev/null @@ -1,26 +0,0 @@ -## -## AAF OAUTH2 API (authz-oauth) Properties -## - -# Standard AFT for this box -hostname=_HOSTNAME_ - -## DISCOVERY (DME2) Parameters on the Command Line -AFT_LATITUDE=_AFT_LATITUDE_ -AFT_LONGITUDE=_AFT_LONGITUDE_ -AFT_ENVIRONMENT=_AFT_ENVIRONMENT_ -DEPLOYED_VERSION=_ARTIFACT_VERSION_ - -## Pull in common/security properties - -cadi_prop_files=_COMMON_DIR_/com.att.aaf.common.props:_COMMON_DIR_/com.att.aaf.props - -##DME2 related parameters - -DMEServiceName=service=com.att.authz.oauth/version=_MAJOR_VER_._MINOR_VER_._PATCH_VER_/envContext=_ENV_CONTEXT_/routeOffer=_ROUTE_OFFER_ -AFT_DME2_PORT_RANGE=_AUTHZ_OAUTH_PORT_RANGE_ - - - - - diff --git a/auth/auth-service/src/main/config/.gitignore b/auth/auth-service/src/main/config/.gitignore deleted file mode 100644 index 508486a3..00000000 --- a/auth/auth-service/src/main/config/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/authAPI.props -/log4j.properties diff --git a/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java b/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java index b66516e0..e8468d6a 100644 --- a/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java +++ b/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java @@ -214,7 +214,7 @@ public class AuthzCassServiceImpl addAdminNS(AuthzTrans trans, String ns, String id) { @@ -230,7 +230,7 @@ public class AuthzCassServiceImpl delAdminNS(AuthzTrans trans, String ns, String id) { @@ -246,7 +246,7 @@ public class AuthzCassServiceImpl addResponsibleNS(AuthzTrans trans, String ns, String id) { @@ -262,7 +262,7 @@ public class AuthzCassServiceImpl > /opt/app/osaaf/logs/${AAF_COMPONENT}/stdout`date -I` 2>> /opt/app/osaaf/logs/${AAF_COMPONENT}/stderr`date -I`"] +CMD ["/bin/bash","-c","/opt/app/aaf/${AAF_COMPONENT}/bin/${AAF_COMPONENT}"] # For Debugging installation # CMD ["/bin/bash","-c","pwd;cd /opt/app/osaaf;find /opt/app/osaaf -depth;df -k; cat /opt/app/aaf/${AAF_COMPONENT}/bin/${AAF_COMPONENT};cat /etc/hosts;/opt/app/aaf/${AAF_COMPONENT}/bin/${AAF_COMPONENT}"] diff --git a/auth/sample/etc/org.osaaf.gui.props b/auth/sample/etc/org.osaaf.gui.props index f1a2770d..66a3f4c7 100644 --- a/auth/sample/etc/org.osaaf.gui.props +++ b/auth/sample/etc/org.osaaf.gui.props @@ -9,15 +9,15 @@ port=8200 aaf_gui_title=AAF aaf_gui_copyright=(c) 2018 AT&T Intellectual Property. All rights reserved. aaf_gui_theme=theme/onap -cadi_loginpage_url=https://AAF_LOCATE_URL/com.att.aaf.gui:2.0/login +cadi_loginpage_url=https://AAF_LOCATE_URL/AAF_NS.gui:2.0/login # GUI URLS and Help URLS cm_url=https://aaf.osaaf.org:8150 gw_url=https://aaf.osaaf.org:8095 fs_url=http://aaf.osaaf.org:8096 -aaf_url.gui_onboard=https://wiki.web.att.com/display/aaf/OnBoarding -aaf_url.cuigui=https://wiki.web.att.com/display/aaf/Using+the+Command+Prompt +aaf_url.gui_onboard=https://wiki.onap.org/display/DW/Client+Onboarding +# aaf_url.cuigui=https://???/Using+the+Command+Prompt aaf_url.aaf_help=https://wiki.onap.org/display/DW/Application+Authorization+Framework+Documentation aaf_url.aaf_help.sub=Bootstrapping+AAF,Installation+Guide diff --git a/auth/sample/etc/org.osaaf.orgs.props b/auth/sample/etc/org.osaaf.orgs.props index 66bfd2fa..f4210599 100644 --- a/auth/sample/etc/org.osaaf.orgs.props +++ b/auth/sample/etc/org.osaaf.orgs.props @@ -2,8 +2,8 @@ # Define Organizations for use in some of the components. Not all use them # Organization.org.osaaf=org.onap.aaf.org.DefaultOrg -org.osaaf.mailHost=smtp.mail.att.com -org.osaaf.mailFrom=DL-aaf-support@aaf.att.com +org.osaaf.mailHost=smtp.mail.YOUR.ORG +org.osaaf.mailFrom=YOUR@EMAIL org.osaaf.default=true org.osaaf.also_supports=org.osaaf.people diff --git a/cadi/aaf/src/main/java/org/onap/aaf/cadi/aaf/client/Examples.java b/cadi/aaf/src/main/java/org/onap/aaf/cadi/aaf/client/Examples.java index 31f60ee8..da81d75c 100644 --- a/cadi/aaf/src/main/java/org/onap/aaf/cadi/aaf/client/Examples.java +++ b/cadi/aaf/src/main/java/org/onap/aaf/cadi/aaf/client/Examples.java @@ -252,7 +252,7 @@ public class Examples { private static UserRoleRequest newUserRoleRequestv2_0(boolean optional) { UserRoleRequest urr = new UserRoleRequest(); urr.setRole("org.osaaf.myns.myRole"); - urr.setUser("ab1234@csp.att.com"); + urr.setUser("ab1234@people.osaaf.org"); if(optional) setOptional(urr); return urr; } @@ -261,10 +261,10 @@ public class Examples { private static NsRequest newNsRequestv2_0(boolean optional) { NsRequest nr = new NsRequest(); nr.setName("org.osaaf.myns"); - nr.getResponsible().add("ab1234@csp.att.com"); - nr.getResponsible().add("cd5678@csp.att.com"); - nr.getAdmin().add("zy9876@csp.att.com"); - nr.getAdmin().add("xw5432@csp.att.com"); + nr.getResponsible().add("ab1234@people.osaaf.org"); + nr.getResponsible().add("cd5678@people.osaaf.org"); + nr.getAdmin().add("zy9876@people.osaaf.org"); + nr.getAdmin().add("xw5432@people.osaaf.org"); if(optional) { nr.setDescription("This is my Namespace to set up"); nr.setType("APP"); @@ -281,18 +281,18 @@ public class Examples { Nss nss = new Nss(); nss.getNs().add(ns = new Nss.Ns()); ns.setName("org.osaaf.myns"); - ns.getResponsible().add("ab1234@csp.att.com"); - ns.getResponsible().add("cd5678@csp.att.com"); - ns.getAdmin().add("zy9876@csp.att.com"); - ns.getAdmin().add("xw5432@csp.att.com"); + ns.getResponsible().add("ab1234@people.osaaf.org"); + ns.getResponsible().add("cd5678@people.osaaf.org"); + ns.getAdmin().add("zy9876@people.osaaf.org"); + ns.getAdmin().add("xw5432@people.osaaf.org"); ns.setDescription("This is my Namespace to set up"); nss.getNs().add(ns = new Nss.Ns()); ns.setName("org.osaaf.myOtherNs"); - ns.getResponsible().add("ab1234@csp.att.com"); - ns.getResponsible().add("cd5678@csp.att.com"); - ns.getAdmin().add("zy9876@csp.att.com"); - ns.getAdmin().add("xw5432@csp.att.com"); + ns.getResponsible().add("ab1234@people.osaaf.org"); + ns.getResponsible().add("cd5678@people.osaaf.org"); + ns.getAdmin().add("zy9876@people.osaaf.org"); + ns.getAdmin().add("xw5432@people.osaaf.org"); return nss; } @@ -327,12 +327,12 @@ public class Examples { Users users = new Users(); users.getUser().add(user = new Users.User()); - user.setId("ab1234@csp.att.com"); + user.setId("ab1234@people.osaaf.org"); GregorianCalendar gc = new GregorianCalendar(); user.setExpires(Chrono.timeStamp(gc)); users.getUser().add(user = new Users.User()); - user.setId("zy9876@csp.att.com"); + user.setId("zy9876@people.osaaf.org"); user.setExpires(Chrono.timeStamp(gc)); return users; diff --git a/cadi/aaf/src/main/java/org/onap/aaf/cadi/aaf/v2_0/AAFCon.java b/cadi/aaf/src/main/java/org/onap/aaf/cadi/aaf/v2_0/AAFCon.java index 70b3e766..47950cdc 100644 --- a/cadi/aaf/src/main/java/org/onap/aaf/cadi/aaf/v2_0/AAFCon.java +++ b/cadi/aaf/src/main/java/org/onap/aaf/cadi/aaf/v2_0/AAFCon.java @@ -203,7 +203,7 @@ public abstract class AAFCon implements Connector { app=FQI.reverseDomain(ss.getID()); //TODO Get Realm from AAF - realm="csp.att.com"; + realm="people.osaaf.org"; env = new RosettaEnv(); permsDF = env.newDataFactory(Perms.class); diff --git a/cadi/aaf/src/test/java/org/onap/aaf/cadi/aaf/test/TestHClient.java b/cadi/aaf/src/test/java/org/onap/aaf/cadi/aaf/test/TestHClient.java index 9536cd90..b5262444 100644 --- a/cadi/aaf/src/test/java/org/onap/aaf/cadi/aaf/test/TestHClient.java +++ b/cadi/aaf/src/test/java/org/onap/aaf/cadi/aaf/test/TestHClient.java @@ -61,7 +61,7 @@ public class TestHClient { hman = new HMangr(access,loc); final String path = String.format("/authz/perms/user/%s", - access.getProperty(Config.AAF_APPID,"xx9999@csp.att.com")); + access.getProperty(Config.AAF_APPID,"xx9999@people.osaaf.org")); hman.best(ss, new Retryable() { @Override public Void code(Rcli cli) throws APIException, CadiException { diff --git a/cadi/core/src/main/java/org/onap/aaf/cadi/UserChain.java b/cadi/core/src/main/java/org/onap/aaf/cadi/UserChain.java index e423b8b1..9d8f2b04 100644 --- a/cadi/core/src/main/java/org/onap/aaf/cadi/UserChain.java +++ b/cadi/core/src/main/java/org/onap/aaf/cadi/UserChain.java @@ -28,7 +28,7 @@ package org.onap.aaf.cadi; * * Where * APP is name suitable for Logging (i.e. official App Acronym) - * ID is official User or MechID, best if includes Identity Source (i.e. ab1234@csp.att.com) + * ID is official User or MechID, best if includes Identity Source (i.e. ab1234@people.osaaf.org) * Protocol is the Security protocol, * * Format:::[:AS][,::]* diff --git a/cadi/oauth-enduser/cadi.properties b/cadi/oauth-enduser/cadi.properties index ecd5a3d5..411514f1 100644 --- a/cadi/oauth-enduser/cadi.properties +++ b/cadi/oauth-enduser/cadi.properties @@ -42,7 +42,7 @@ aaf_oauth2_introspect_url=https://AAF_LOCATE_URL/locate/com.att.aaf.introspect:2 #ISAM aaf_alt_oauth2_domain=isam.att.com #aaf_alt_oauth2_client_id= -#aaf_alt_oauth2_domain=csp.att.com +#aaf_alt_oauth2_domain=people.osaaf.org #ISAM TEST aaf_alt_oauth2_token_url=https://oauth.stage.elogin.att.com/mga/sps/oauth/oauth20/token