/forgerock/authenticator-ios-v2/ForgeRock-Authenticator/ |
H A D | FRAPushMechanism.h | 28 @property (nonatomic, readonly) NSString *secret; variable 59 * @param secret Shared secret key required for authentication. 65 - (instancetype)initWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel authEndpoint:(NSString *)authEndPoint secret:(NSString *)secret version:(NSInteger)version mechanismIdentifier:(NSString *)mechanismIdentifier; 73 * @param secret Shared secret key required for authentication. 77 - (instancetype)initWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel authEndpoint:(NSString *)authEndPoint secret:(NSString *)secret; 97 + (instancetype)pushMechanismWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel authEndpoint:(NSString *)authEndPoint secret [all...] |
/forgerock/openam-v13/openam-radius/openam-radius-common/src/main/java/org/forgerock/openam/radius/common/ |
H A D | RequestAuthenticator.java | 56 * @param secret the secret shared between a radius client and server. 60 public RequestAuthenticator(SecureRandom rand, String secret) argument 67 md5.update(secret.getBytes(StandardCharsets.UTF_8));
|
H A D | UserPasswordAttribute.java | 43 * password, request authenticator, and shared secret and the on-the-wire bytes are extracted via the super class's 46 * and shared secret. 82 * @param secret 83 * the shared secret between the client and the server used for the creation of the cipher text. 87 public UserPasswordAttribute(Authenticator ra, String secret, String password) { argument 88 super(UserPasswordAttribute.toOctets(ra, secret, password)); 92 * Custom toOctets implementation that takes a clear text password, shared secret, and authenticator and prepares 97 * @param secret 98 * the shared secret 103 private static final byte[] toOctets(Authenticator ra, String secret, Strin argument 133 convert(byte[] value, Direction direction, String secret, Authenticator ra) argument 191 extractPassword(Authenticator a, String secret) argument [all...] |
/forgerock/openam-v13/openam-radius/openam-radius-common/src/test/java/org/forgerock/openam/radius/common/ |
H A D | Rfc2865Examples.java | 31 * A shared secret. 33 public static String secret = "xyzzy5461"; field in class:Rfc2865Examples
|
H A D | TestUserPasswordAttribute.java | 32 final UserPasswordAttribute upa = new UserPasswordAttribute(authnctr, Rfc2865Examples.secret, 39 final String pwd = upa2.extractPassword(authnctr, Rfc2865Examples.secret); 47 final String wireSeq = "02 12 f0 82 69 17 e4 ef 18 e5 44 e1 53 c0 06 b0 43 df"; // depends on client secret and 53 Assert.assertEquals(pwd, "secret", "passwords should be 'secret'"); 57 String secret = "my-secret"; field in class:TestUserPasswordAttribute 70 final RequestAuthenticator ra = new RequestAuthenticator(rand, secret); 71 final UserPasswordAttribute upa = new UserPasswordAttribute(ra, secret, pwd15); 74 final String pwd = upa2.extractPassword(ra, secret); [all...] |
/forgerock/openam/openam-radius/openam-radius-common/src/main/java/org/forgerock/openam/radius/common/ |
H A D | RequestAuthenticator.java | 56 * @param secret the secret shared between a radius client and server. 60 public RequestAuthenticator(SecureRandom rand, String secret) argument 67 md5.update(secret.getBytes(StandardCharsets.UTF_8));
|
H A D | UserPasswordAttribute.java | 43 * password, request authenticator, and shared secret and the on-the-wire bytes are extracted via the super class's 46 * and shared secret. 82 * @param secret 83 * the shared secret between the client and the server used for the creation of the cipher text. 87 public UserPasswordAttribute(Authenticator ra, String secret, String password) { argument 88 super(UserPasswordAttribute.toOctets(ra, secret, password)); 92 * Custom toOctets implementation that takes a clear text password, shared secret, and authenticator and prepares 97 * @param secret 98 * the shared secret 103 private static final byte[] toOctets(Authenticator ra, String secret, Strin argument 133 convert(byte[] value, Direction direction, String secret, Authenticator ra) argument 191 extractPassword(Authenticator a, String secret) argument [all...] |
/forgerock/openam/openam-radius/openam-radius-common/src/test/java/org/forgerock/openam/radius/common/ |
H A D | Rfc2865Examples.java | 31 * A shared secret. 33 public static String secret = "xyzzy5461"; field in class:Rfc2865Examples
|
H A D | TestUserPasswordAttribute.java | 32 final UserPasswordAttribute upa = new UserPasswordAttribute(authnctr, Rfc2865Examples.secret, 39 final String pwd = upa2.extractPassword(authnctr, Rfc2865Examples.secret); 47 final String wireSeq = "02 12 f0 82 69 17 e4 ef 18 e5 44 e1 53 c0 06 b0 43 df"; // depends on client secret and 53 Assert.assertEquals(pwd, "secret", "passwords should be 'secret'"); 57 String secret = "my-secret"; field in class:TestUserPasswordAttribute 70 final RequestAuthenticator ra = new RequestAuthenticator(rand, secret); 71 final UserPasswordAttribute upa = new UserPasswordAttribute(ra, secret, pwd15); 74 final String pwd = upa2.extractPassword(ra, secret); [all...] |
/forgerock/openam/openam-push-notification/src/main/java/org/forgerock/openam/services/push/dispatch/ |
H A D | PushMessageChallengeResponsePredicate.java | 43 * @param secret Secret used to generate the response value. 47 public PushMessageChallengeResponsePredicate(byte[] secret, String challenge, String location) { argument 48 Reject.ifNull(secret, challenge, location); 50 this.answer = new HS256Helper(secret, challenge).answerAsString();
|
H A D | SignedJwtVerificationPredicate.java | 29 * signed by the appropriate user (their shared secret is retrieved from the user store). 33 private byte[] secret; field in class:SignedJwtVerificationPredicate 37 * Create a new SNS Predicate, for use with the supplied secret and challenge. 39 * @param secret Used to verify JWT messages and content. 42 public SignedJwtVerificationPredicate(byte[] secret, String location) { argument 43 Reject.ifNull(secret); 44 this.secret = secret; 50 SigningHandler signingHandler = new SigningManager().newHmacSigningHandler(secret); 65 * Sets the secret fo 68 setSecret(byte[] secret) argument [all...] |
/forgerock/openam/openam-push-notification/src/main/java/org/forgerock/openam/services/push/utils/ |
H A D | HS256Helper.java | 29 * over a supplied challenge using a provided secret. 33 private byte[] secret; field in class:HS256Helper 41 * @param secret The secret to use. 44 public HS256Helper(byte[] secret, String challenge) { argument 45 this.secret = secret; 53 if (secret == null) { 58 SecretKey key = new SecretKeySpec(secret, 0, secret 98 setSecret(byte[] secret) argument [all...] |
/forgerock/openam/openam-push-notification/src/test/java/org/forgerock/openam/services/push/utils/ |
H A D | HS256HelperTest.java | 83 private String figureResponse(byte[] secret, String challenge) { argument 85 SecretKey key = new SecretKeySpec(secret, 0, secret.length, HMACSHA256);
|
/forgerock/openam-v13/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/ |
H A D | ConsoleClient.java | 71 * The name of the property containing the shared secret to be used in communication with the server. 73 public static final String SECRET_PROP = "secret"; 83 private String secret = null; field in class:ConsoleClient 97 this.secret = props.getProperty(SECRET_PROP); 110 System.out.println(" secret=<shared-secret-with-server>"); 186 final RequestAuthenticator reqAuthR = new RequestAuthenticator(random, this.secret); 189 req.addAttribute(new UserPasswordAttribute(req.getAuthenticator(), this.secret, passwordOrAnswer));
|
/forgerock/authenticator-android-v2/app/src/main/java/com/forgerock/authenticator/mechanisms/push/ |
H A D | Push.java | 37 private String secret; field in class:Push 39 private Push(Identity owner, long id, String mechanismUID, String secret, String endpoint) { argument 42 this.secret = secret; 67 * Get the secret used for signing messages. 68 * @return The base 64 encoded secret. 71 return secret; 78 result.put(PushAuthMapper.BASE_64_SHARED_SECRET_KEY, secret); 92 private String secret; field in class:Push.PushBuilder 105 * Set the secret tha 109 setBase64Secret(String secret) argument [all...] |
/forgerock/openam-v13/openam-authentication/openam-auth-hotp/src/main/java/com/sun/identity/authentication/modules/hotp/ |
H A D | HOTPAlgorithm.java | 104 * The secret provided was not a valid HMAC-SHA-1 key. 131 * @param secret the shared secret 149 * The secret provided was not 154 static public String generateOTP(byte[] secret, argument 170 byte[] hash = hmac_sha1(secret, text);
|
/forgerock/openam-v13/openam-federation/OpenFM/src/main/integrations/siteminder/source/com/sun/identity/authentication/siteminder/ |
H A D | FAMAuthScheme.java | 75 * @param secret - The secret string as specified for the authentication 87 String secret, 116 * @param secret The secret string as specified for the authentication 122 public SmAuthStatus init(String parameter, String secret) { argument 139 * @param secret The secret string as specified for the authentication 145 public SmAuthStatus release(String parameter, String secret) { argument 155 * @param secret Th 86 query(String parameter, String secret, SmAuthQueryCode request, SmAuthQueryResponse response) argument 166 authenticate(String parameter, String secret, int challengeReason, SmAuthenticationContext context) argument [all...] |
/forgerock/openam/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/ |
H A D | ConsoleClient.java | 71 * The name of the property containing the shared secret to be used in communication with the server. 73 public static final String SECRET_PROP = "secret"; 83 private String secret = null; field in class:ConsoleClient 97 this.secret = props.getProperty(SECRET_PROP); 110 System.out.println(" secret=<shared-secret-with-server>"); 186 final RequestAuthenticator reqAuthR = new RequestAuthenticator(random, this.secret); 189 req.addAttribute(new UserPasswordAttribute(req.getAuthenticator(), this.secret, passwordOrAnswer));
|
/forgerock/openam/openam-authentication/openam-auth-hotp/src/main/java/com/sun/identity/authentication/modules/hotp/ |
H A D | HOTPAlgorithm.java | 104 * The secret provided was not a valid HMAC-SHA-1 key. 131 * @param secret the shared secret 149 * The secret provided was not 154 static public String generateOTP(byte[] secret, argument 170 byte[] hash = hmac_sha1(secret, text);
|
/forgerock/openam/openam-federation/OpenFM/src/main/integrations/siteminder/source/com/sun/identity/authentication/siteminder/ |
H A D | FAMAuthScheme.java | 75 * @param secret - The secret string as specified for the authentication 87 String secret, 116 * @param secret The secret string as specified for the authentication 122 public SmAuthStatus init(String parameter, String secret) { argument 139 * @param secret The secret string as specified for the authentication 145 public SmAuthStatus release(String parameter, String secret) { argument 155 * @param secret Th 86 query(String parameter, String secret, SmAuthQueryCode request, SmAuthQueryResponse response) argument 166 authenticate(String parameter, String secret, int challengeReason, SmAuthenticationContext context) argument [all...] |
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/plugin/session/impl/ |
H A D | FedletSessionProvider.java | 56 * Indicates whether a secret originally comes from this class or not 57 * @param secret the secret string to be matched 60 public static boolean matchSecret(String secret) { argument
|
/forgerock/openam-v13/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/config/ |
H A D | ClientConfig.java | 35 * The shared secret used by both client and server for encryption and decryption and signing of the packets. 37 private String secret; field in class:ClientConfig 108 * Get the shared secret used by both client and server for encryption and decryption and signing of the packets. 110 * @return the secret 113 return this.secret; 117 * Set the shared secret used by both client and server for encryption and decryption and signing of the packets. 119 * @param secret 120 * the secret to set 122 public void setSecret(String secret) { argument 123 this.secret [all...] |
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/security/ |
H A D | DataEncryptor.java | 66 * encryption uses symmetric secret key for data encryption and sends 67 * the secret key to the recipient by encrypting the same with given 142 * using given shared secret. 149 * @param secret the shared secret to be used for symmetric encryption. 153 String encAlgorithm, String secret) throws Exception { 161 PBEKeySpec pbeKeySpec = new PBEKeySpec(secret.toCharArray()); 175 * secret. 179 * @param secret the shared secret t 152 encryptWithSymmetricKey(String data, String encAlgorithm, String secret) argument 182 decryptWithSymmetricKey(String data, String encAlgorithm, String secret) argument [all...] |
/forgerock/openam-v13/openam-authentication/openam-auth-application/src/main/java/com/sun/identity/authentication/modules/application/ |
H A D | Application.java | 69 * <code>IDToken1</code> to specify secret. 71 * <code>Login.Token1</code> to specify secret.) For example: 73 * "module=Application&IDToken0=UrlAccessAgent&IDToken1=secret" 82 * "module=Application&Login.Token0=UrlAccessAgent&Login.Token1=secret" 89 private static String secret = null; field in class:Application 98 debug.message("Application module getting secret"); 101 secret = (String) AccessController.doPrivileged( 126 if (secret == null || secret.length() == 0) { 127 debug.message("Init : NULL secret i [all...] |
/forgerock/openam/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/config/ |
H A D | ClientConfig.java | 35 * The shared secret used by both client and server for encryption and decryption and signing of the packets. 37 private String secret; field in class:ClientConfig 108 * Get the shared secret used by both client and server for encryption and decryption and signing of the packets. 110 * @return the secret 113 return this.secret; 117 * Set the shared secret used by both client and server for encryption and decryption and signing of the packets. 119 * @param secret 120 * the secret to set 122 public void setSecret(String secret) { argument 123 this.secret [all...] |