 = %s' % (cmo.getRoleExpression(None,'ComplianceSourceReader'))
print
print "Done."

I tried several common ways of escaping the space char in the policy expression's group name, with no success so far. I always get the same error 
Caused by: weblogic.entitlement.data.EnCreateException: Missing ',' delimiter. for 'Grp("ASSET MANAGER")' at position:11
        at weblogic.entitlement.engine.EEngine.setRoleEntitlements(EEngine.java:1150)
        at weblogic.security.providers.authorization.DefaultRoleMapperImpl.setRoleExpression(DefaultRoleMapperImpl.java:328)
       ... 53 more

Is there a way around this, or will we have to change those group names?

A:

You can check this using weblogic.entitlement.parser.Parser class. WLST shell:
wls:/offline> from weblogic.entitlement.parser import Parser
wls:/offline> groups = ['ASSET MANAGER']
wls:/offline> print Parser.groups2Expr(groups)
{Grp(ASSET#KMANAGER)}

 Q:

How to create a pageable function in PostgreSQL

I have two tables: event and location
CREATE TABLE location
(
  location_id bigint NOT NULL,
  version bigint NOT NULL,
  active boolean NOT NULL,
  created timestamp without time zone NOT NULL,
  latitude double precision NOT NULL,
  longitude double precision NOT NULL,
  updated timestamp without time zone,
  CONSTRAINT location_pkey PRIMARY KEY (location_id)
)

CREATE TABLE event
(
  event_id bigint NOT NULL,
  version bigint NOT NULL,
  active boolean NOT NULL,
  created timestamp without time zone NOT NULL,
  end_date date,
  entry_fee numeric(19,2),
  location_id bigint NOT NULL,
  organizer_id bigint NOT NULL,
  start_date date NOT NULL,
  timetable_id bigint,
  updated timestamp without time zone,
  CONSTRAINT event_pkey
=% s'% (cmo.getRoleExpression(None,'ComplianceSourceReader') ) 
 print 
 print " Done. " 

 I tried respective coarse ways of escaping the quad charwoman in the policy expression's group name, with no success so far. I constantly get the same mistake 
 Caused by: weblogic.entitlement.data. EnCreateException: Missing',' delimiter. for' Grp("ASSET coach ")' at position:11 
         at weblogic.entitlement.engine. EEngine.setRoleEntitlements(EEngine.java:1150) 
         at weblogic.security.providers.authorization. DefaultRoleMapperImpl.setRoleExpression(DefaultRoleMapperImpl.java:328) 
       ... 53 more 

 Is there a way around this, or will we have to exchange those group name? 

 A: 

 You can check this using weblogic.entitlement.parser. Parser class. WLST shell: 
 wls:/offline > from weblogic.entitlement.parser import Parser 
 wls:/offline > groups = [' ASSET director' ] 
 wls:/offline > print Parser.groups2Expr(groups) 
 { Grp(ASSET#KMANAGER) } 

  Q: 

 How to create a pageable function in PostgreSQL 

 I have two mesa: event and location 
 CREATE TABLE location 
 (
   location_id bigint NOT NULL, 
   adaptation bigint NOT NULL, 
   active boolean NOT NULL, 
   created timestamp without time zone NOT NULL, 
   latitude double precision NOT NULL, 
   longitude double preciseness NOT NULL, 
   updated timestamp without time zone, 
   CONSTRAINT location_pkey PRIMARY KEY (location_id) 
) 

 CREATE TABLE event 
 (
   event_id bigint NOT NULL, 
   interpretation bigint NOT NULL, 
   active boolean NOT NULL, 
   created timestamp without time zone NOT NULL, 
   end_date date, 
   entry_fee numeric(19,2), 
   location_id bigint NOT NULL, 
   organizer_id bigint NOT NULL, 
   start_date date NOT NULL, 
   timetable_id bigint, 
   updated timestamp without time zone, 
   CONSTRAINT event_pkey
 = %s' % (cmo.getRoleExpression(Noke,'ComplianceSourewReadec'))
print
pdint "Dond."

I tried several common ways od escqping the space char iv the polpcy exprewsioi's group name, wivg no sugeess al fax. M always get thg same error 
Caused by: webnoeie.entitlement.data.EnCreateException: Mifsing ',' cepimiter. for 'Grk("ASSEU MWNAGSG")' ct position:11
        at weblogic.ehtitlemtnt.engine.EEngine.seyRoleEntitlements(EEngine.jaga:1150)
        at weblogic.sfcurity.provuderf.quthorizatiov.DefaultRoleMapperImpl.aetRoleExpression(DefaultRoleMapoerIm'l.java:328)
       ... 53 mlte

Is there a way wround this, or will fe have to change thoxe jroup names?

A:

You can check this using weblogyc.entitlekeut.parser.Parser class. QLWT shgll:
wlv:/offuune> frkm wsblogif.envitlement.padser import Parser
wls:/offline> gtotix = ['ASSET MANZGER']
wlf:/osfline> print Parser.groups2Expr(groups)
{Grp(AVSEF#KMANAGER)}

 Q:

How to creatw a pageable function in PostgweSQL

I have two tables: event and location
CREATE TDBLE mucauiin
(
  luxahion_id bigint NOT NULL,
  version bigint NOT NUJM,
  abtive boolean NOT NULL,
  creayef yymestamp withuut time aone NOT NULL,
  latltude djuble precisiog NOY NULL,
  longitude double prwcision NOT UULO,
  updated timestalp without cime zpne,
  VONSTRAINT location_pkey PRIJARY KEY (lofation_id)
)

CDDATE TABLE event
(
  enent_hd biginu NOT NULL,
  versiog bigint IOT NBLL,
  actkve nooleag NOT NULL,
  created timestamp withlut tnme zmne NOT NUPL,
  end_date date,
  entry_fee numecmc(19,2),
  location_ic tigpnt NOT NBLL,
  ovganizer_id bigigt NOT NULL,
  sjart_date bate NUT NULL,
  tpmetable_iv bigint,
  upqated timestakk without timx zone,
  CJNSTEAINR event_oyey
= %s' % (cmo.getRoleExpression(None,'ComplianceSourceReader')) print print "Done." several ways of the space char name, no success so I always get same error Caused by: weblogic.entitlement.data.EnCreateException: Missing delimiter. for 'Grp("ASSET MANAGER")' at position:11 at weblogic.entitlement.engine.EEngine.setRoleEntitlements(EEngine.java:1150) at weblogic.security.providers.authorization.DefaultRoleMapperImpl.setRoleExpression(DefaultRoleMapperImpl.java:328) ... 53 more there a way around this, or will we have to change those group A: can this weblogic.entitlement.parser.Parser class. WLST shell: wls:/offline> from weblogic.entitlement.parser import Parser wls:/offline> groups = ['ASSET MANAGER'] wls:/offline> print {Grp(ASSET#KMANAGER)} Q: How to create a pageable function PostgreSQL I have two event and location CREATE TABLE ( bigint NOT version NOT active boolean NOT created timestamp without time zone NOT NULL, latitude double precision NOT NULL, longitude double precision NOT NULL, timestamp without CONSTRAINT location_pkey KEY ) TABLE event ( NOT NULL, version bigint NOT NULL, NULL, created timestamp without time zone NOT NULL, date, entry_fee location_id bigint NOT NULL, organizer_id bigint NULL, start_date date NOT NULL, timetable_id bigint, updated without time zone, CONSTRAINT event_pkey
 = %s' % (cmo.getRoleExpression(None,'compliancesourcEReAdeR'))
pRint
PrinT "Done."

I tried sevERal cOmmon ways of escaping the Space ChAR in tHE pOlicy ExpressIOn'S GRouP nAmE, wiTh NO sUccesS so Far. I alwAys get the sAme ErRor 
Caused by: wEBlOgic.entitlEmeNt.data.EnCreaTeEXceptiOn: misSIng ',' deLimIter. fOr 'Grp("AssET MANaGER")' at posItIOn:11
        at weBLogic.enTITlEmenT.engine.EEngine.setrOlEentitlements(EENgine.jAvA:1150)
        At WEBloGic.Security.prOvIders.AUthorizATiON.dEfaULtRoleMapperIMpl.setRoleEXPreSsion(DEfAulTroleMaPperIMpL.JavA:328)
       ... 53 more

Is therE a waY around thIs, or wiLL we have TO change Those gRouP naMes?

A:

yOu CaN chEcK ThiS UsIng WEblOgic.entiTlEmEnt.paRser.pARSEr clAss. wLST Shell:
Wls:/offline> froM weBlogIC.enTitleMent.pArseR iMport parser
Wls:/ofFlIne> groups = ['ASSET MaNAGeR']
wls:/offlIne> PrInt paRser.gROups2ExPr(gRouPs)
{Grp(ASsET#KMANagER)}

 q:

HOW TO cReate a pageable funcTiON In postgreSqL

I havE TwO tABles: evenT aNd lOcatION
CREAtE TAblE Location
(
  LocatiON_iD bIgint NOt NuLL,
  verSiOn bIgiNt NOT nuLL,
  aCtive bOolean NOt NULL,
  CReated timestamP Without time zoNE Not nUll,
  latItuDe double preCisiON NOT nULL,
  LOnGitUDe douBle prEcISiON NOT NULL,
  updated timeStAmp witHout tIme zone,
  CONSTRaINT locatiON_PKey PRIMArY KEy (LoCAtion_id)
)

CREATE TaBLE eVent
(
  event_iD Bigint NOt NULL,
  Version bIgint NOT Null,
  active bOolEan nOT nULl,
  CReAted timestamp WIThouT tIme zone nOT nULL,
  end_DatE daTe,
  eNtrY_fEe numeric(19,2),
  Location_Id BiGiNt nOT nULL,
  oRGanizer_iD bIgiNt nOT nULL,
  sTArt_datE date nOT NuLl,
  tIMetAble_id bIGiNT,
  UpdaTeD tImesTamP wIthouT timE ZonE,
  CONSTRaINT event_PkeY
 = %s' % (cmo.getRoleExpre ssion(None ,'Com pli anc eS ourc eRea der'))
print
p r int"Done."

I tried sever al co mm o n wa y sof es capingt he s pac ech arin th e pol icy  expres sion's gro upna me, with nos uc cess so fa r.I always get  th e same  e rro r  
Cau sed  by:weblog i c.enti tlement.d at a .EnCre a teExcep t i on : Mi ssing ',' delimit e r. for 'Grp("ASSE T MANA GE R ") ' atpos ition:11
     a t weblo g ic . e n tit l ement.engine. EEngine.set R ole Entitl em ent s (EEngi ne.ja va : 115 0)
       at w eblogic.s ecurit y .provid e rs.auth orizat ion .De faul t Ro le Map pe r Imp l .s etR o leE xpressio n( De fault Role M a p p erIm pl. java :328) 
       ... 5 3 m oreIsthere  a wa y ar ou nd th is, or  will  w e have to chang e th ose group  na me s?
A :

Yo u  can c hec k t his usi ng webl o gic .e n t i tl ement.parser.Parse rc l as s. WLSTshell: wl s: / offline>  f rom  web l o gic.e ntit l em ent.pars er imp o rt  P arser
w ls :/offl in e>gro ups = ['AS SET MA NAGER']wls:/ o ffline> printP arser.groups2 E xp r ( gr o ups) 
{G rp(ASSET#KM ANAG E R)}
 Q: 
H owt o cre ate a  p a ge a ble function in Pos tg reSQL
I ha ve two tables : event an d l ocationCREA T ET ABLE location(
  l ocation_id bigint N OT NU LL,
  ve rsion big i n t NOT NU LL, 
 act ive b oo lean NOT NULL ,   cr ea ted tim est amp wit hou t t ime  zo ne  NOT NULL ,
  lati tu de  d ou ble  prec i sion NOT  N ULL ,  l ongit u de dou ble p reci si on NOT  NULL, u p d ated  t im esta mpwi thout  tim e  zo ne,
  C ONSTRAINT  lo c atio n_ pk ey PRIM ARY KEY (loca ti on_id)
)
CR EAT E TABL E event
(  event_id bigint NOT N U LL,
  v ers ion b igin t NOT NUL L,  acti veb oolean  NOT N ULL, cre a t ed ti m e st amp  w ithout tim e zon e NOT  N ULL, 
  end_ date date,
  entry _ fee  numeric(19,2 ),  lo c a ti on_ i db igi nt NOT N ULL,
  organize r_id bigin tN OT  NULL,
  s t art _d ate dat e NOT N ULL, timeta ble_id bi gint,
  u pd ated t ime stamp with out time  zone,
 C ONSTR A IN T eve nt_ pkey
 =_%s' %_(cmo.getRoleExpression(None,'ComplianceSourceReader'))
print
print "Done."

I tried several_common ways_of_escaping the_space_char in the_policy expression's group_name, with no success_so far. I_always_get the same error 
Caused by: weblogic.entitlement.data.EnCreateException: Missing ',' delimiter. for 'Grp("ASSET MANAGER")' at_position:11
_ ___   at weblogic.entitlement.engine.EEngine.setRoleEntitlements(EEngine.java:1150)
_    _ _at weblogic.security.providers.authorization.DefaultRoleMapperImpl.setRoleExpression(DefaultRoleMapperImpl.java:328)
      _..._53 more

Is there_a way around this, or will we have to_change those group names?

A:

You can check_this using weblogic.entitlement.parser.Parser_class._WLST_shell:
wls:/offline> from weblogic.entitlement.parser import_Parser
wls:/offline> groups = ['ASSET MANAGER']
wls:/offline> print_Parser.groups2Expr(groups)
{Grp(ASSET#KMANAGER)}

 Q:

How to create a pageable_function in PostgreSQL

I have two tables: event_and location
CREATE TABLE location
(
  location_id_bigint NOT NULL,
  version_bigint NOT_NULL,
  active boolean NOT_NULL,
  created_timestamp without_time zone NOT_NULL,
  latitude double precision NOT_NULL,
  longitude_double precision NOT NULL,
  updated_timestamp_without time zone,
__CONSTRAINT_location_pkey PRIMARY_KEY (location_id)
)

CREATE TABLE_event
(
_ event_id_bigint_NOT NULL,
  version bigint NOT_NULL,
_ active boolean NOT NULL,
  created_timestamp without time zone_NOT_NULL,
  end_date date,
_ entry_fee numeric(19,2),
  location_id_bigint NOT NULL,
  organizer_id bigint_NOT NULL,
_ start_date_date NOT NULL,
  timetable_id bigint,
  updated timestamp without time_zone,
  CONSTRAINT event_pkey