Package com.sun.identity.security
@Supported
package com.sun.identity.security
Provides the classes to be used for performing privileged operations (like
getting the OpenAM administrator's DN and password).
-
ClassDescriptionThis line of code: String adminDN = com.iplanet.am.util.AdminUtils.getAdminDN(); should be replaced with: String adminDN = (String) new AdminDNAction().run(); If this is not done and Java security permissions check is enabled, then the operation will fail and return a null everytime.The class is used to perform privileged operations using
.run()when usingcom.iplanet.am.util.AdminUtilsto obtain Administrator passwords.Provides a centralised method for fetching an administrator token for operations where there is no user present.This interface defines method to get application single sign on token.This classDataEncryptoris used to encrypt the data with symmetric and asymmetric keys.The class is used to perform privileged operations with.run()when usingcom.iplanet.services.util.Cryptto decode passwords.The class is used to perform privileged operation with.run()when usingcom.iplanet.am.util.AMPasswordUtilto decrypt passwords.The class is used to perform privileged operation with.run()when usingcom.iplanet.services.util.Cryptto encode passwords.The class is used to perform privileged operation with.run()when usingcom.iplanet.am.util.AMPasswordUtilto encrypt passwords.This classISSecurityPermissionis used to protect the Access Manager resources which should be accessed only by trusted application.