Skip to content

Instantly share code, notes, and snippets.

Philipp Grigoryev phi1ipp

View GitHub Profile
@phi1ipp
phi1ipp / gist:e7370cd8d894a882c091bb33be11b5bd
Created Dec 20, 2017
password generation with a password policy attached to a resource
View gist:e7370cd8d894a882c091bb33be11b5bd
UserRepository ur = new DBUserRepository();
UserInfo user = ur.getUserInfo(userKey);
ResourceRepository rrepo = new ResourceDBRepository();
Resource resource = rrepo.findResource(resourceName);
View gist:e974da6c1c42114819fbdd4cf2c25cf2
connect(userConfigFile='/opt/ORACLE/scripts/identity/wl.conf', userKeyFile='/opt/ORACLE/scripts/identity/wl.key', url='t3://aaaaa.zzzzzz.com:7001')
domainRuntime()
HumanWFobj = ObjectName('oracle.as.soainfra.config:Location=wls_soa1,name=human-workflow,type=HWFMailerConfig,Application=soa-infra')
#set notification mode
mbs.setAttribute(HumanWFobj, Attribute('HWFMailerNotificationMode','EMAIL'))
#set email addresses
You can’t perform that action at this time.